[epic] Dynamic ethernet address for eth0/eth1
Kent Jefferies
jkjefferies@gmpexpress.net
Fri Mar 22 12:58:01 2002
--------------4314A9E86010D15296C20808
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Working with Linux kernels:
2.2.16-22 and 2.2.18
and NICs:
Ethernet controller: Standard Microsystems Corp [SMC] 83C170QF (rev 08)
Ethernet controller: Intel Corporation 82557 [Ethernet Pro 100] (rev 01)
I get the following wierd effects with the network interfaces after boot
up.
Kernel interface
driver e-address Physical
connect driver load status
2.2.16-22 eth0 epic100
AA:xx:xx:xx:xx:xx net #2 (static req) Y
NO GO
eth1
eepro100 BB:xx:xx:xx:xx:xx net #1 (dhcp
req) Y NO GO
2.2.18 eth0 eepro100
BB:xx:xx:xx:xx:xx net #1 (dhcp req)
Y OK
eth1
epic100 ??
net #2 (static req) N "unable to compile"
interface config
file modules.conf
eth0
dhcp alias eth0 epic100
eth1
static alias eth1 eepro100
Problem:
Because the "ethx" assignments flip-flop, incorrect configuration
files are used to connect to
the physical net.
It looks like the drivers are attached to the correct cards and ,of
course, the physical connections
don't change. Why does "ethx" change?
If this makes sense to anyone, I don't mind being humbled. All
suggestions are welcomed. Please, even point out stupid oversights.
Thanks,
Kent
--------------4314A9E86010D15296C20808
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<pre>
Working with Linux kernels:
2.2.16-22 and 2.2.18
and NICs:
Ethernet controller: Standard Microsystems Corp [SMC] 83C170QF (rev 08)
Ethernet controller: Intel Corporation 82557 [Ethernet Pro 100] (rev 01)</pre>
I get the following wierd effects with the network interfaces after boot
up.
<p>Kernel
interface
driver
e-address
Physical connect driver load
status
<br>2.2.16-22 eth0
epic100
AA:xx:xx:xx:xx:xx
net #2 (static req)
Y NO
GO
<br>
eth1
eepro100
BB:xx:xx:xx:xx:xx
net #1 (dhcp req)
Y NO
GO
<br>2.2.18
eth0
eepro100
BB:xx:xx:xx:xx:xx
net #1 (dhcp req)
Y
OK
<br>
eth1
epic100
??
net #2 (static req)
N "unable to compile"
<br>
<p>
interface
config file
modules.conf
<br>
eth0
dhcp
alias eth0 epic100
<br>
eth1
static
alias eth1 eepro100
<p>Problem:
<br> Because the "ethx" assignments flip-flop, incorrect
configuration files are used to connect to
<br> the physical net.
<p> It looks like the drivers are attached to the correct
cards and ,of course, the physical connections
<br> don't change. Why does "ethx" change?
<p>If this makes sense to anyone, I don't mind being humbled. All
suggestions are welcomed. Please, even point out stupid oversights.
<br>
<p>Thanks,
<p>Kent
<br> </html>
--------------4314A9E86010D15296C20808--