Re: New NIC Has Problems

2003-08-22 Thread Bertrand Sirodot
Hi,

I have an Ultra2 with 2 NICs connected to 2 different
networks and it routes without any problem. The 2 NICs
have the same MAC address, because Linux doesn't
recognise the local-mac-address? switch.
To be able to route with ipchains, you first need to
configure the box as a router by setting
/proc/sys/net/ipv4/ip_forward to 1. Once you have done
that, you still need to enable the FORWARD rule in
ipchains. I can't remember the exact syntax, but you
should be able to find it on the net.

Good luck and I hope this helps,
Bertrand.

 --- Irvin Probst <[EMAIL PROTECTED]> wrote: > On Thu,
2003-08-14 at 06:27, Patrick Morris wrote:
> > "why would ifconfig show the same MAC addresses
> unless there was a problem?"
> > 
> > This is standard Sun behavior, and can be changed
> from the OBP (ok prompt) using 
> > "setenv local-mac-address? true"
> 
> Or if you have a hme NIC you can specify it when
> loading the module, eg:
> modprobe sunhme macaddr=0x8,0x0,0x20,0x42,0x69,0x12
> 
> -- 
> Irvin Probst
> There are 10 types of people in the world... those
> who understand binary
> and those who don't.
> 
> 
> -- 
> To UNSUBSCRIBE, email to
> [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
>  

__
Yahoo! Plus - For a better Internet experience
http://uk.promotions.yahoo.com/yplus/yoffer.html



Re: New NIC Has Problems

2003-08-13 Thread Irvin Probst
On Thu, 2003-08-14 at 06:27, Patrick Morris wrote:
> "why would ifconfig show the same MAC addresses unless there was a problem?"
> 
> This is standard Sun behavior, and can be changed from the OBP (ok prompt) 
> using 
> "setenv local-mac-address? true"

Or if you have a hme NIC you can specify it when loading the module, eg:
modprobe sunhme macaddr=0x8,0x0,0x20,0x42,0x69,0x12

-- 
Irvin Probst
There are 10 types of people in the world... those who understand binary
and those who don't.



Re: New NIC Has Problems

2003-08-13 Thread Irvin Probst
On Thu, 2003-08-14 at 05:40, David Demland wrote:
> I have a SPARC 5 that I just got a SBUS 100T NIC for. I installed it and it
> seems to work because I get no errors about the second NIC. I am using
> PMFirewall to configure the ipchains on the box. The box does not seem to
> route. When I do an ifconfig I see both interfaces, eth0 and eth1. The two
> interfaces have the same MAC address. How do I tell if both NICs are working
> and how why would ifconfig show the same MAC addresses unless there was a
> problem?

That's normal, see Steven post regarding this issue, but as long as the
two NICs are not on the same subnet this does not hurt.
Are you sure that /proc/sys/net/ipv4/ip_forward is set to 1 ?

-- 
Irvin Probst
There are 10 types of people in the world... those who understand binary
and those who don't.



RE: New NIC Has Problems

2003-08-13 Thread David Demland
>From what I have been reading, on the internet, it seems that the
local-mac-address does not work under Linux. I need to know if that is still
correct or has it changed. Because this SPARC is being used to route I do
not understand how the same MAC will not cause a problem, yet some of the
E-Mails I have read said that if the two cards are on different logical
networks there will be no problem. Since I need ipchains to route to the two
NICs, I do not understand how the same MAC address could work. Could some
one explain that to me.

Thank You,

David Demland

-Original Message-
From: Patrick Morris [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 13, 2003 9:28 PM
To: David Demland
Cc: Debian-Sparc
Subject: Re: New NIC Has Problems


I'm not sure about the rest based on what you've told us so far, but...

"why would ifconfig show the same MAC addresses unless there was a problem?"

This is standard Sun behavior, and can be changed from the OBP (ok prompt)
using "setenv local-mac-address? true"






Re: New NIC Has Problems

2003-08-13 Thread Patrick Morris

I'm not sure about the rest based on what you've told us so far, but...

"why would ifconfig show the same MAC addresses unless there was a problem?"

This is standard Sun behavior, and can be changed from the OBP (ok prompt) using 
"setenv local-mac-address? true"





Re: New NIC Has Problems

2003-08-13 Thread Steven Wilcoxon
I don't have the complete solution, but this information should point you in 
the right direction if someone else doesn't supply the exact command before 
you get the answer.

The issue is that the OBP process sets the MAC address of all nics to the 
same value by default. In the OBP documentation, there is a setting you can 
set to prevent that from happening.

On Wednesday 13 August 2003 22:40, David Demland wrote:
> I have a SPARC 5 that I just got a SBUS 100T NIC for. I installed it and it
> seems to work because I get no errors about the second NIC. I am using
> PMFirewall to configure the ipchains on the box. The box does not seem to
> route. When I do an ifconfig I see both interfaces, eth0 and eth1. The two
> interfaces have the same MAC address. How do I tell if both NICs are
> working and how why would ifconfig show the same MAC addresses unless there
> was a problem?
>
> David Demland

-- 
S.W.



New NIC Has Problems

2003-08-13 Thread David Demland
I have a SPARC 5 that I just got a SBUS 100T NIC for. I installed it and it
seems to work because I get no errors about the second NIC. I am using
PMFirewall to configure the ipchains on the box. The box does not seem to
route. When I do an ifconfig I see both interfaces, eth0 and eth1. The two
interfaces have the same MAC address. How do I tell if both NICs are working
and how why would ifconfig show the same MAC addresses unless there was a
problem?

David Demland