Source IP Issues/ ifconfig

From: David Price (dprice@plugnpay.com)
Date: Wed Sep 10 2003 - 13:24:26 EDT


V480, Solaris 8

I am trying to figure out why the source IP address of some of my packets is
not as I expect it to be based on previous experience with Solaris 6.

V480 is set up with multiple Virtual IP's. 1 being on a public network, the
rest being a private network.

The root IP is a private IP, 10.120.3.25.

We have a route for a class c that runs through a Cisco router out to a
Frame circuit. The Ethernet interface of the router is on the same network
as the public address of the Virtual IP.

I have a similar setup on some E3500 boxes running Solaris 6 that have been
in production for years.

When I attempt to ping the destination IP from the V480 box the source ip
address is the first Virtual IP it finds, 10.120.3.25, instead of the
Virtual IP that is in the same subnet as itself. On my Solaris 6 boxes the
source address it uses is the public address.

This appears to be the case for ping as well as telnet.

Can the source IP of ping, telnet etc.. packets be specified ?

tcpdump of the ping shows:

on V480 Running Solaris 8
tcpdump: listening on ce0
11:51:54.448680 0:3:ba:2a:e7:47 0:d0:58:ae:13:60 0800 98: 10.120.3.25 >
aaa.bbb.ccc.17: icmp: echo request (DF)
11:51:55.445433 0:3:ba:2a:e7:47 0:d0:58:ae:13:60 0800 98: 10.120.3.25 >
aaa.bbb.ccc.17: icmp: echo request (DF)
11:51:56.445569 0:3:ba:2a:e7:47 0:d0:58:ae:13:60 0800 98: 10.120.3.25 >
aaa.bbb.ccc.17: icmp: echo request (DF)
11:51:57.445504 0:3:ba:2a:e7:47 0:d0:58:ae:13:60 0800 98: 10.120.3.25 >
aaa.bbb.ccc.17: icmp: echo request (DF)

on E3500 Running Solaris 6
tcpdump: listening on hme0
11:46:17.693004 0:d0:58:ae:13:60 8:0:20:b4:3b:6d 0800 98: IP aaa.bbb.ccc.17
> xxx.xxx.xxx.200: icmp 64: echo reply seq 194 (DF)
11:46:18.635404 8:0:20:b4:3b:6d 0:d0:58:ae:13:60 0800 98: IP xxx.xxx.xxx.200
> aaa.bbb.ccc.17: icmp 64: echo request seq 195 (DF)
11:46:18.695828 0:d0:58:ae:13:60 8:0:20:b4:3b:6d 0800 98: IP aaa.bbb.ccc.17
> xxx.xxx.xxx.200: icmp 64: echo reply seq 195 (DF)
11:46:19.635382 8:0:20:b4:3b:6d 0:d0:58:ae:13:60 0800 98: IP xxx.xxx.xxx.200
> aaa.bbb.ccc.17: icmp 64: echo request seq 196 (DF)
11:46:19.694969 0:d0:58:ae:13:60 8:0:20:b4:3b:6d 0800 98: IP aaa.bbb.ccc.17
> xxx.xxx.xxx.200: icmp 64: echo reply seq 196 (DF)
11:46:20.635615 8:0:20:b4:3b:6d 0:d0:58:ae:13:60 0800 98: IP xxx.xxx.xxx.200
> aaa.bbb.ccc.17: icmp 64: echo request seq 197 (DF)
11:46:20.694150 0:d0:58:ae:13:60 8:0:20:b4:3b:6d 0800 98: IP aaa.bbb.ccc.17
> xxx.xxx.xxx.200: icmp 64: echo reply seq 197 (DF)
11:46:21.635462 8:0:20:b4:3b:6d 0:d0:58:ae:13:60 0800 98: IP xxx.xxx.xxx.200
> aaa.bbb.ccc.17: icmp 64: echo request seq 198 (DF)
11:46:21.693330 0:d0:58:ae:13:60 8:0:20:b4:3b:6d 0800 98: IP aaa.bbb.ccc.17
> xxx.xxx.xxx.200: icmp 64: echo reply seq 198 (DF)
11:46:22.635554 8:0:20:b4:3b:6d 0:d0:58:ae:13:60 0800 98: IP xxx.xxx.xxx.200
> aaa.bbb.ccc.17: icmp 64: echo request seq 199 (DF)

Config of V480 is as follows:

lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
ce0:
flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu
1500 index 2
        inet 10.120.3.131 netmask ffffff00 broadcast 10.120.3.255
        groupname CEs
        ether 0:3:ba:2a:e7:47
ce0:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 10.120.3.25 netmask ffffff00 broadcast 10.120.3.255
ce0:2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet xxx.xxx.xxx.199 netmask ffffff80 broadcast xxx.xxx.xxx.xxx
ce0:3: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 10.120.3.50 netmask ffffff00 broadcast 10.120.3.255

ce1:
flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu
1500 index 3
        inet 10.120.3.132 netmask ffffff00 broadcast 10.120.3.255
        groupname CEs
        ether 0:3:ba:2a:e7:46
ce1:1: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
        inet xxx.xxx.xxx.132 netmask ffffff80 broadcast xxx.xxxx.xxx.xxx

Config of E3500 is as follows:

lo0: flags=849<UP,LOOPBACK,RUNNING,MULTICAST> mtu 8232
        inet 127.0.0.1 netmask ff000000
hme0: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST> mtu 1500
        inet 10.120.3.100 netmask ffffff00 broadcast 10.120.3.255
hme0:1: flags=843<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
        inet 10.120.3.201 netmask ffffff00 broadcast 10.120.3.255
hme0:2: flags=843<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
        inet 10.120.3.202 netmask ffffff00 broadcast 10.120.3.255
hme0:3: flags=843<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
        inet xxx.xxx.xxx.200 netmask ffffff80 broadcast xxx.xxx.xxx.255
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:27:05 EDT