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

Cisco 877W static route help

Status
Not open for further replies.

art15t

MIS
Apr 8, 2002
77
GB
Hi Folks,

Can anyone assist with this one?

I have my internal network on a 10.10.10/24 subnet and have a virtual machine residing on 10.10.10.9 with an ip of 10.211.55.5. the virtual machine can ping the host and vice versa but now I would like to get to this machine from the www. My router is 10.10.10.1 and it's routing table is a such:

router#sh ip route


Gateway of last resort is 93.97.20.1 to network 0.0.0.0

93.0.0.0/21 is subnetted, 1 subnets
C 93.97.16.0 is directly connected, ATM0.1
10.0.0.0/24 is subnetted, 1 subnets
C 10.10.10.0 is directly connected, BVI1
S* 0.0.0.0/0 [1/0] via 93.97.20.1

How do I correctly route to the 10.211.55 subnet(on which the VM resides)? I'm presuming I need to create a static route with something like:

ip route [subnet] [netmask] [next hop to subnet]

but I tried this and no ping!

Any ideas as I'm no network expert and don't want to cock up my running config with active customers on board

Cheers ART
 
Is the VM connected with a trunk? Are you trying to run both 10.10.10.0 and 10.211.55.0 on the same LAN?

The best advice is to set up trunking to separate 10.10.10.0 and 10.211.55.0 onto different VLANS but if that's not in the cards you should put a secondary IP on the router's interface in the 10.211.55.0 network so it can talk to the server.
 
Hi Sweets,

This is the host to the VM's routing table:

Routing tables

Internet:
Destination Gateway Flags Refs Use Netif Expire
default router UGSc 35 8 en0
10.10.10/24 link#4 UCS 6 0 en0
router 0:1b:2b:cc:7:8a UHLWI 37 12979 en0 253
nathan 0:1f:c6:7e:54:28 UHLWI 2 84 en0 1003
mail.unixunlimited localhost UHS 0 86171 lo0
uulprd01 0:23:54:2a:6:d3 UHLWI 0 546 en0 1031
10.10.10.30 0:9:34:28:60:2e UHLWI 0 25 en0 1101
10.10.10.111 0:1d:ec:2:2d:2d UHLWI 0 221 en0 961
10.10.10.255 link#4 UHLWbI 1 21983 en0
10.37.129/24 link#8 UC 2 0 vnic1
10.37.129.2 0:1c:42:0:0:9 UHLWI 1 2 lo0
10.37.129.255 link#8 UHLWbI 2 16516 vnic1
10.211.55/24 link#7 UC 2 0 vnic0
10.211.55.2 0:1c:42:0:0:8 UHLWI 0 2 lo0
10.211.55.255 link#7 UHLWbI 2 16516 vnic0
127 localhost UCS 0 0 lo0
localhost localhost UH 6 253090 lo0
169.254 link#4 UCS 0 0 en0



and this is the hosts:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.211.55.0 * 255.255.255.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default 10.211.55.1 0.0.0.0 UG 0 0 0 eth0

here are all the interfaces on my router:

router#sh ip int brief
Interface IP-Address OK? Method Status Protocol
ATM0 unassigned YES NVRAM up up
ATM0.1 93.97.22.131 YES NVRAM up up
BVI1 10.10.10.1 YES NVRAM up up
Dot11Radio0 unassigned YES NVRAM up up
Dot11Radio0.1 unassigned YES unset up up
FastEthernet0 unassigned YES unset up up
FastEthernet1 unassigned YES unset up up
FastEthernet2 unassigned YES unset up down
FastEthernet3 unassigned YES unset up down
NVI0 unassigned YES unset administratively down down
Vlan1 unassigned YES NVRAM up up

ART
 
Due to that model of router not supporting trunking/vlans to my knowledge you're going to have to put a secondary IP address on there.

On the interface where you have 10.10.10.1 you should try to add

ip address 10.211.55.1 255.255.255.0 secondary

 
I tried that and it won't work as 10.211.55.1 is the virtual gw interface of the host. I tried adding a different ip in the same subnet but again there was no route to the VM. BTW I've turned on IPFORWARDING on my host too just to make sure it will route traffic to the VM but again still no success. The only other way I see to get this working is to change the way Parallells defaults to the different subnets and make it work on the same subnet but I tried this too but once more no joy and it looks like I'll have to enlist the help of the Parallells community to work out how to get the VM to then talk to the host if I go for that option. Damn, bugger and blast why do the VM designers have to make it so difficult ...surely I'm not that dumb :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top