Vlan problem

Answered Question
Sep 3rd, 2007
User Badges:

I am trying to seperate my network with Vlans.

I have a router connected to a Switch 3550(A) that switch connected to onother Switch 3550(B) and the last connected to a Switch 2950(C)

So I made all links between them trunk links dot1q exept 2950 leaving it default.

I create a Vlan 161 on A which is the VTP Server. Also B is a VTP server.

I encapsulated the interface on router with the ip of Vlan 161. Also configure the DHCP server with that ip .

Then I connected the B to C to a trunk link. I configures a port F0/8 as an access port to VLAN 161.

I put two ips on switch C int Vlan1 and interface Vlan161 with the proper ips.

I tried to see the pc which was working on port f0/8

I got an ip correctly , I could work on every device in my network but I could not ping the switch C or telnet. I could ping the router and the other switches but not the C. Then I changed the access to that port f0/8 to Vlan 1 and everything was fine. Of course it got the ip from Vlan 1 .

What is the problem

Thanks

moses


Correct Answer by Edison Ortiz about 9 years 8 months ago

If the PCs will have access mode for Vlan161, then shutdown Vlan1 and enter an IP address under the interface Vlan161 then perform a no shut on that interface.


Ex,


workstation [192.168.161.50] -> port 8 on 2950 [switchport access vlan 161]


On the switch config


interface vlan 1

shut


interface vlan 161

ip add 192.168.161.1 255.255.255.0

no shut


You should be able to ping that interface from your workstation.



  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Edison Ortiz Mon, 09/03/2007 - 09:37
User Badges:
  • Super Bronze, 10000 points or more
  • Hall of Fame,

    Founding Member

The 2950 is a layer2 switch and it only allows you to have one IP management interface up at the same time.


In order to be able to ping Vlan161, you must shutdown Vlan1 and issue a 'no shut' on Vlan161.


You can have multiple Layer3 interfaces on the 3550 switches, though.

moses12315 Mon, 09/03/2007 - 09:53
User Badges:

Thanks for that.

If i use int Vlan 1 and configure it with ip address of Vlan 161 , is that ok or i have to create int Vlan 161.

Thanks again

moses

Edison Ortiz Mon, 09/03/2007 - 10:00
User Badges:
  • Super Bronze, 10000 points or more
  • Hall of Fame,

    Founding Member

Yes, you can do that but if you use Vlan1 with the IP address from Vlan161, you need to make sure the workstations are part of Vlan1.

moses12315 Mon, 09/03/2007 - 10:24
User Badges:

Yes i mean about the interface of Vlan 1. Can i put the ip address of Vlan 161 . The pcs will have mode access of Vlan 161.

moses

Correct Answer
Edison Ortiz Mon, 09/03/2007 - 10:35
User Badges:
  • Super Bronze, 10000 points or more
  • Hall of Fame,

    Founding Member

If the PCs will have access mode for Vlan161, then shutdown Vlan1 and enter an IP address under the interface Vlan161 then perform a no shut on that interface.


Ex,


workstation [192.168.161.50] -> port 8 on 2950 [switchport access vlan 161]


On the switch config


interface vlan 1

shut


interface vlan 161

ip add 192.168.161.1 255.255.255.0

no shut


You should be able to ping that interface from your workstation.



moses12315 Mon, 09/03/2007 - 10:39
User Badges:

Thanks a lot sir. You saved me hours of working tomorrow.

Thanks a lot

moses

Actions

This Discussion