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!

Routeing problem

Status
Not open for further replies.

foned00d

Programmer
Mar 24, 2005
78
0
0
US
We change the IP address of our Solaris 9 box and now we can't get connected to one endpoint.

here is the error while tracerouting to xxx.xxx.222.11,
traceroute: Warning: Multiple interfaces found; using xxx.xxx.222.13 @ ce0
traceroute to xxx.xxx.222.11 (xxx.xxx.222.11), 30 hops max, 40 byte packets
1 xxx.xxx.222.2 (xxx.xxx.222.2) 2.887 ms !X * 1.614 ms !X


Any suggestions on where to look? Below is the hosts and netmasks files.
#
xxx.xxx.222.0 255.255.255.240
xxx.xxx.222.16 255.255.255.240
xxx.xxx.0.0 255.255.0.0
#

#
127.0.0.1 localhost
xxx.xxx.222.25 ABC ABC.tmpdomain.net loghost secondar
y secondary
xxx.xxx.222.17 router
xxx.xxx.158.25 ZXY primary
#
#
#
# PBX Link
#
xxx.xxx.222.13 ABC_1 # ce0 to Clans
xxx.xxx.222.1 gateway2 # Default Gateway for ce0
#
xxx.xxx.222.11 switch1 # Clan to Acd1
xxx.xxx.30.12 switch2 # Clan to Acd2
xxx.xxx.164.20 switch3 # Clan to Acd3
#

lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1 inet 127.0.0.1 netmask ff000000

ce0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2 inet xxx.xxx.222.13 netmask fffffff0 broadcast xxx.xxx.222.15

eri0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3 inet xxx.xxx.222.25 netmask fffffff0 broadcast xxx.xxx.222.31

Just looking for suggestions on where to look as I can't see anything wrong here
 
netstat -rn

Why is it taking a route (.2) it is a direct connect.

Do you see .11 in the arp table?
 
Not sure, All I did was replace the existing IP entries with the new ones... here is the netstat, as far as I know I shoul dbe talking out ce0 to the .11 address
# netstat -rn

Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ------ ---------
xxx.xxx.200.211 xxx.xxx.222.1 UGH 1 1 ce0
xxx.xxx.164.20 xxx.xxx.222.1 UGH 1 0 ce0
xxx.xxx.30.12 xxx.xxx.222.1 UGH 1 2 ce0
xxx.xxx.222.11 xxx.xxx.222.1 UGH 1 1 ce0
xxx.xxx.222.0 xxx.xxx.222.13 U 1 1 ce0
xxx.xxx.222.16 xxx.xxx.222.25 U 1 105 eri0
224.0.0.0 xxx.xxx.222.25 U 1 0 eri0
default xxx.xxx.222.17 UG 1 346
127.0.0.1 127.0.0.1 UH 13 145910 lo0
 
Did you do this "on the fly"?

The reason I ask is that .17 seems to be your default router which isn't in your net range (I think), and .1 shouldn't be part of the equation. Unless you are running some route daemons...
 
we have 2 interfaces, .17 is the gateway for .25 (eri0)
and .1 is the gateway for the .13 (ce0)
 
The problem seems to be the server is trying to send packets destined for the local subnet to the subnet’s gateway. The gateway will drop those, we should never send traffic local to the subnet to the gateway on the subnet. But I can't figure why the server is doing this..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top