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!

PC Needed to access 2 different networks. What IP configuration is needed?

Status
Not open for further replies.

UnknownEntity

Technical User
Jun 15, 2006
75
GB
Hi all,

I will be setting up 2 distinct networks, call them 'A' and 'B'.

'A' will be a network with IP range 10.25.0.x and 'B' will be a network with IP range 10.25.1.x. Servers on both networks will have Citrix XenServer (Citrix visor) installed with windows server 2008 R2 running on each.

I need to setup a system (call it Alphabox) whereby it will be seen by BOTH networks 'A' and 'B', and install XenCenter, a program that controls the Citrix visors on BOTH networks.

Basically, does Alphabox need to sit on a 3rd distinct network to be seen by networks A and B? Or is it possible to have Alphabox sitting on one of the networks, A or B and change the gateway or subnet mask address? What is the IP configuration needed by Alphabox to be seen by both networks 'A' and 'B'?

Thank you,

Drakul.

 
I would say the following, probably:-

Hypothetically

Alphabox
2 x NICs
NIC1 = 192.168.1.xxx / 24 connected to port fa0/1 of switch 1 - Gateway 192.168.1.254
NIC2 = 192.168.2.xxx / 24 connected to port fa0/2 of switch 1 - Gateway 192.168.2.254

You will need to open a command prompt and set up the routing utilising the correct NIC for the subnet required.

route add etc etc

Switch 1:-

conf t
int fa0/1
switchport mode access
switchport access vlan 100

conf t
int fa0/2
switchport mode access
switchport access vlan 200

conf t
int vlan 100
ip address 192.168.1.254 255.255.255.0

conf t
int vlan 200
ip address 192.168.2.254 255.255.255.0

Also set your layer 2 vlan here as well.

This should allow your PC / Server to see both networks.

I dont think I have missed anything but it has been a while since I set something like this up.

 
Only assign a default gateway to the subnet your use to get to the internet.

I tried to remain child-like, all I acheived was childish.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top