- Posts: 2
- Thank you received: 0
VLAN & inter-VLAN routing tutorial
16 years 9 months ago #25022
by Travylad
VLAN & inter-VLAN routing tutorial was created by Travylad
Hi everyone,
Well this is a tutorial I got given in my networking class. I've spent a good 6 hours on this thing trying to figure it out and have no idea where I've gone wrong.
Basically its all regarding VLANs. I've set the switches, trunks, and everything up the way I thought was right, set up the routing protocol and the inter-VLAN routing. Yet it won't work. I've looked round for help but can't find it. I also need to apply two ACL's which I'm yet to start.
Is there any chance one of you guys could have a see what I've gone and done wrong, and if you need any more info just let me know. There's a link to the file below (which is a packet tracer 4.11 file.)
www.mediafire.com/?cld2hytlxme
Many Thanks,
p.s. - It may take a few seconds for the link to download the file to pop up.
Well this is a tutorial I got given in my networking class. I've spent a good 6 hours on this thing trying to figure it out and have no idea where I've gone wrong.
Basically its all regarding VLANs. I've set the switches, trunks, and everything up the way I thought was right, set up the routing protocol and the inter-VLAN routing. Yet it won't work. I've looked round for help but can't find it. I also need to apply two ACL's which I'm yet to start.
Is there any chance one of you guys could have a see what I've gone and done wrong, and if you need any more info just let me know. There's a link to the file below (which is a packet tracer 4.11 file.)
www.mediafire.com/?cld2hytlxme
Many Thanks,
p.s. - It may take a few seconds for the link to download the file to pop up.
16 years 9 months ago #25024
by sp1k3tou
Replied by sp1k3tou on topic Re: VLAN & inter-VLAN routing tutorial
I started to look at it. If your trying to setup a router on a stick network where the layer 2 switches are going back to the router for routing you will need to let them know what there default gateway is. So on each switch set the default gateway to one of the interfaces on the router. ip default-gateway
16 years 9 months ago #25065
by S0lo
Studying CCNP...
Ammar Muqaddas
Forum Moderator
www.firewall.cx
Replied by S0lo on topic Re: VLAN & inter-VLAN routing tutorial
First, Fa0/5 on Switch 10 needs to be a trunk port. Inter VLAN routing worked after this change.
Second, Server0 needs a gateway set to 65.3.117.1
However, for some reason OSPF does not seam to be working. Although I can see absolutely nothing wrong with your configuration. When I used RIP v2, it works perfectly!!. Here is the fixed file:
www.sendspace.com/file/ybyxgt
Hope that helps.
Second, Server0 needs a gateway set to 65.3.117.1
However, for some reason OSPF does not seam to be working. Although I can see absolutely nothing wrong with your configuration. When I used RIP v2, it works perfectly!!. Here is the fixed file:
www.sendspace.com/file/ybyxgt
Hope that helps.
Studying CCNP...
Ammar Muqaddas
Forum Moderator
www.firewall.cx
16 years 9 months ago #25085
by Elohim
Replied by Elohim on topic Re: VLAN & inter-VLAN routing tutorial
Here's the ospf configuration for router0 and router1 in that packetracer file. You had the wrong network advertised in OSPF so the neighbors never formed.
Router1 ospf configuration:
!
router ospf 100
log-adjacency-changes
network 192.168.127.96 0.0.0.3 area 0.0.0.0
network 65.3.117.0 0.0.0.255 area 0.0.0.0
!
Router0 ospf configuration:
!
router ospf 100
log-adjacency-changes
network 192.168.127.96 0.0.0.3 area 0.0.0.0
network 192.168.127.0 0.0.0.63 area 0.0.0.0
network 192.168.127.64 0.0.0.63 area 0.0.0.0
!
Router1 ospf configuration:
!
router ospf 100
log-adjacency-changes
network 192.168.127.96 0.0.0.3 area 0.0.0.0
network 65.3.117.0 0.0.0.255 area 0.0.0.0
!
Router0 ospf configuration:
!
router ospf 100
log-adjacency-changes
network 192.168.127.96 0.0.0.3 area 0.0.0.0
network 192.168.127.0 0.0.0.63 area 0.0.0.0
network 192.168.127.64 0.0.0.63 area 0.0.0.0
!
16 years 9 months ago #25086
by S0lo
Studying CCNP...
Ammar Muqaddas
Forum Moderator
www.firewall.cx
Replied by S0lo on topic Re: VLAN & inter-VLAN routing tutorial
Great job elohim!!. gotta refresh my memory. But I was wondering, shouldn't that be 'area 0' instead of area 0.0.0.0 ?
Studying CCNP...
Ammar Muqaddas
Forum Moderator
www.firewall.cx
16 years 9 months ago #25091
by Elohim
Replied by Elohim on topic Re: VLAN & inter-VLAN routing tutorial
it wasn't the area id that was the problem.
His original configuration:
!
router ospf 1
log-adjacency-changes
network 192.168.127.0 0.0.0.3 area 0
!
However, specifying network 192.168.127.0 with a wildcard mask of 0.0.0.3 only matches 192.168.127.0-192.168.0.3 and does not match the subnetwork of the serial link and therefore the serial interface does not participate in OSPF. Therefore, no neighbor adjaceny was established.
His original configuration:
!
router ospf 1
log-adjacency-changes
network 192.168.127.0 0.0.0.3 area 0
!
However, specifying network 192.168.127.0 with a wildcard mask of 0.0.0.3 only matches 192.168.127.0-192.168.0.3 and does not match the subnetwork of the serial link and therefore the serial interface does not participate in OSPF. Therefore, no neighbor adjaceny was established.
Great job elohim!!. gotta refresh my memory. But I was wondering, shouldn't that be 'area 0' instead of area 0.0.0.0 ?
Time to create page: 0.132 seconds