Unix Technical Forum

Ultra-60 with hme0 and skge0

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 ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > Sun Solaris Administration

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-12-2008, 05:34 AM
Peter Meiser
 
Posts: n/a
Default Ultra-60 with hme0 and skge0

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.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-12-2008, 05:34 AM
Griff Miller
 
Posts: n/a
Default Re: Ultra-60 with hme0 and skge0

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 | |
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-12-2008, 05:34 AM
Peter Meiser
 
Posts: n/a
Default Re: Ultra-60 with hme0 and skge0

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.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-12-2008, 05:34 AM
Scott Howard
 
Posts: n/a
Default Re: Ultra-60 with hme0 and skge0

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:20 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com