Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Physical setup of a vlan

Status
Not open for further replies.

dbarasch

MIS
Feb 16, 2004
14
0
0
US
Ok.. I am so frustrated with vlans. My first setup is regards to the physical setup of a vlan.

I have a dell 3348 switch. Ports 1-24 and 37-48 are VLAN1 IP 192.168.11.19. Ports 25 - 36 are VLAN 2 IP 192.168.13.1. Both are 255.255.255.0.

VLANS cant communicate with each other unless through a router. I have a Cisco 2600 as the router.

Port 35 is setup as a Trunking port to FastEthernet0/1 on the router.

Now on FastEthernet0/1 I have 192.168.13.2 and 192.168.11.1 (secondary) configured as IP addresses.

---------

Computers on VLAN2 can ping VLAN2 IP and Router, but no VLAN1. VLAN1 cant ping anything except its own VLAN ip.

Obviously something has to be configured on the router. What is the commands for the router to recognize vlan info?



 
You need to configure subinterfaces on the router for each vlan. Take all the config off of your physical interface and just make sure it's up.

interface fa0/1
no shut

interface fa0/1.1
encapsulation dot1Q 1
ip address 192.168.13.0 255.255.255.0

interface fa0/1.2
encapsulation dot1Q 2
ip address 192.168.11.0 255.255.255.0

Here's an example from Cisco. Look at the "2600 Router" config.

Matt
CCSP
 
Whoops. The IP addresses on the interfaces are wrong. Sorry about that. Make sure you configure the addresses you want and not the networks, like I mistakenly did.

interface fa0/1.1
encapsulation dot1Q 1
ip address 192.168.13.2 255.255.255.0

Matt
CCSP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top