Answer Question
Solaris multihome:plumb interface and static route through bge0:1 not working. bge0 is always 1st
Hello,
I'm having difficulty with the plumb interface and specifying traffic to route through a specific interface. Any help would be greatly appreciated!
Below is sample example and the result on a Solaris 9 SPARC system:
Create a virtual interface:
/sbin/ifconfig bge0:2 192.168.10.10 netmask 255.255.255.0
Add a route:
/usr/sbin/route add 192.168.10.0 -netmask 255.255.252.0 192.168.10.130 -ifp bge:02
Print routes:
netstat -rn
192.168.10.0 192.168.10.130 UG 1 0 bge0
(The interface defaults to bge0)
Attempt a traceroute:
traceroute 192.168.11.22
traceroute: Warning: Multiple interfaces found; using 141.168.172.175 @ bge0
traceroute to 192.168.11.22 (192.168.11.22), 30 hops max, 40 byte packets
Does anyone have any suggestions to get traffic to route through bge0:2?
Cheers,
Dan.
TEXT
Uploading file and scanning for virus...
Please Wait