This is a discussion on Ultra-60 with hme0 and skge0 within the Sun Solaris Administration forums, part of the Solaris Operating System category; --> Hi! I have an Ultra 60 with the built-in hme0 Interface and a SysKonnect SK-9843 Gigabit Interface (skge0). Both ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi! I have an Ultra 60 with the built-in hme0 Interface and a SysKonnect SK-9843 Gigabit Interface (skge0). Both have IPs and belong to the same Net/Subnet. The hme0 is the primary Interface. When I use traceroute or ftp from a shell - it always wants to use hme0 for outgoing connections. Actually the 100 MBit interface hme0 was only thought for backup if the skge0 fails. All the traffic should go via skge0. What can I do to achieve this? Thanks in advance, Peter. PS: Sorry for my first posting to the wrong group. |
| |||
| Peter Meiser wrote: > > Hi! > > I have an Ultra 60 with the built-in hme0 Interface and a SysKonnect > SK-9843 Gigabit Interface (skge0). Both have IPs and belong to the same > Net/Subnet. > > The hme0 is the primary Interface. > > When I use traceroute or ftp from a shell - it always wants to use hme0 > for outgoing connections. Actually the 100 MBit interface hme0 was only > thought for backup if the skge0 fails. All the traffic should go via skge0. > > What can I do to achieve this? What version of the OS are you running? To do what you want, you need to use IP Multipathing, which you can read about at docs.sun.com and in the in.mpathd manpage . If you are using an old version of Solaris (like 2.6) there is no IP multipathing. Your only recourse is to remove /etc/hostname.hme0, bring the interface down and remove it from the routing table, and then add it back manually should the GB interface fail. -- Griff Miller II | | Manager of Information Technology | If you're too open-minded, | Positron Corporation | your brains might fall out. | griff.miller@positron.com | | |
| |||
| Griff Miller schrieb: >>I have an Ultra 60 with the built-in hme0 Interface and a SysKonnect >>SK-9843 Gigabit Interface (skge0). Both have IPs and belong to the same >>Net/Subnet. >> >>The hme0 is the primary Interface. >> >>When I use traceroute or ftp from a shell - it always wants to use hme0 >>for outgoing connections. Actually the 100 MBit interface hme0 was only >>thought for backup if the skge0 fails. All the traffic should go via skge0. >> >>What can I do to achieve this? > What version of the OS are you running? To do what you want, you need to Solaris 9 > use IP Multipathing, which you can read about at docs.sun.com and in > the in.mpathd manpage . I thought there'd be an easier way. When booting the machine it says: "Setting default IPv4 interface for multicast: add net 224.0/4: gateway <hostname.hme0>" I changed the entry in /etc/nodename to the content of <hostname.skge0> but this didn't work. Then I used "ifconfig hme0 down" and then "ifconfig hme0 up" - and it worked. Traceroute and ftp use the skge0 interface. Another workaraound ist to execute "ifconfig hme0 -xmit" to prevent hme0 from transmitting data - it's still able to receive data but isn't used for outbound connections. But I think all of this isn't a nice solution. Surely I will also read about Multipathing, but I cannot belive that there's no other (easier, one-switch-way) to set the default interface to skge0. Thanks, Peter. |
| ||||
| Peter Meiser <peter_meiser@gmx.de> wrote: > Griff Miller schrieb: >>>When I use traceroute or ftp from a shell - it always wants to use hme0 >>>for outgoing connections. Actually the 100 MBit interface hme0 was only >>>thought for backup if the skge0 fails. All the traffic should go via skge0. IPMP - http://www.sun.com/blueprints/1102/806-7230.pdf Given that you've got different speed interfaces you'll be after the active/standby setup. > Surely I will also read about Multipathing, but I cannot belive that > there's no other (easier, one-switch-way) to set the default interface > to skge0. IPMP _is_ the easy, one-switch-way to set the default interface to skge0. (ok, so it's two switch - you'll need to edit 2 files). Scott |