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.
Status:
Open Dec 07, 2006 - 12:36 PM
Solaris
2answers
Answers
Oct 28, 2008 - 03:41 AM
Hi all
you can route your traffic through an interface. You only need know the ip address for this virtual interface(192.168.10.1, ce2:1 for example)
then
route add -net 10.15.0.0 -netmask x.x.x.x gateway -setsrc 192.168.10.1
Now all the traffic to 10.1 go through interface ce2:1 (192.168.10.1)
I hope help you
Regards
Juan
Mar 24, 2009 - 06:45 AM
The question looks to be abandoned by the user who asked it. If no action is taken within 2 days, a Quomon Moderator will consider closing the question and distributing the points.
The Quomon Team
Answer this question
Share Your Own Experience & Expertise
We look to ensure that every question is answered by the best people with relevant expertise and experience, the best answers include multiple perspectives. Do you have relevant expertise or experience to contribute your answer to any of these commonly asked questions?
Add New Comment