Skip to main content

VLAN & inter-VLAN routing tutorial

More
16 years 7 months ago #25022 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.
More
16 years 7 months ago #25024 by sp1k3tou
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
More
16 years 7 months ago #25065 by S0lo
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.

Studying CCNP...

Ammar Muqaddas
Forum Moderator
www.firewall.cx
More
16 years 7 months ago #25085 by Elohim
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
!
More
16 years 7 months ago #25086 by S0lo
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
More
16 years 7 months ago #25091 by Elohim
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.

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.153 seconds