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

NAT Question

Status
Not open for further replies.

SSChris

IS-IT--Management
Dec 1, 2004
46
0
0
US
I have the following scenario:
Two devices connected on their own VLAN, to Switch A let's say their IPs are 10.1.1.1 and 10.1.1.2.

I have a router also connected to switch A, which currently routes traffic from networks 10.10.0.0 to 10.20.0.0(remote location). The devices on the 10.10.0.0 network are also located in switch A.

I would like to be able to "see" the devices on the 10.1.1.0 network from the 10.10.0.0 network.

How would I do this?

Thank you.
 
On your switch:

1) creat 2 VLANs, 2 and 3, 2 for 10.1.1.0, 3 for 10.10.0.0
2) assign VLANs to access ports
3) make one of the ports a trunk port (say dot1q) to tag both VLANs. This port will be used to connect to the router

On your router:

1) say you use f0/0, type the following commands:

int f0/0
no ip address
!
int f0/0.2
encap dot1q 2
ip address 10.1.1.254 255.255.255.0
!
int f0/0.3
encap dot1q 3
ip address 10.10.0.254 255.255.255.0
!

The .254 ip address is the default gateway of the hosts in that VLAN.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top