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 John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VLAN Routing

Status
Not open for further replies.

daidem77

MIS
Nov 30, 2005
43
CA
I recently created two VLANS on my network (VLAN1 AND VLAN2). I reach the internet through a 506e pix. I also have a cisco router configured with sub interfaces for both networks inside the lan. I can ping both network workstaitons/servers from the the cisco router where the sub interfaces are configured but I can ping the vlan from one to the other. I use the pix internal interface as the gateway for the workstaitons and servers in VLAN1 (192.168.20.1). I know that pix can't send request back the interface it came... Can someone help me how to get my vlans to talk to each other?

C 192.168.20.0/8 is directly connected, FastEthernet0/0.20
C 192.168.30.0/8 is directly connected, FastEthernet0/0.30
C 172.168.40.0/16 is directly connected, Ethernet0/0

pix ip is 192.168.20.1

Any help would be appreciated.
 
Don't think you have your addressing correct , you have everything in the 192 space in the same subnet if you are using a 8 bit mask . Why do you need a 8 bit mask , should be using like a /24 for your subnets . All your devices default gateways should point to the router subinterface address . To get to the pix use a static default route pointing to the pix address.
 
what switch are you using?

need to see the cisco router config too.



should have something like below, but i have used /24 networks

interface fastethernet0.20
ip address 192.168.20.254 255.255.255.0
encapsulation dot1q 1 native

interface fastethernet0.30
ip address 192.168.30.254 255.255.255.0
encapsulation dot1q 2

you will need to issue

ip routing

on the router and also add

ip route 0.0.0.0 0.0.0.0 192.168.20.1

and on the PIX add

route inside 192.168.30.0 255.255.255.0 192.168.20.254 1
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top