Y'all, this one is about to drive me to distraction. Without going into
a long chronology, I recent got DSL and have been reconfiguring. I
finally got around to pulling my 3c905tx NIC and installing an Intel
dual-port card as a stepping stone to restoring order. I'm using a
Linksys router 'tween DSL modem and this Linux box and probably will
even after the reconfiguration is complete. That's really beside the
point. My question is this: When RH7.3 boots and brings up the eth*
interface(s), where do the interface parameters come from? Careful
before answering!
I thought it was /etc/sysconfig/network-scripts/ifcfg-* but there's
something else at work here.
Here is some output copied immediately after rebooting for the severalth
time this afternoon. There has been nothing snipped or added. Note that
eth0 is changed after the "service network restart".
***************************************************************
Password:
[EMAIL PROTECTED] rj]# ifconfig
bash: ifconfig: command not found
[EMAIL PROTECTED] rj]# su -
[EMAIL PROTECTED] root]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:90:27:E8:70:7A
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:493 (493.0 b) TX bytes:168 (168.0 b)
Interrupt:11 Base address:0x2000
eth1 Link encap:Ethernet HWaddr 00:90:27:E8:70:7B
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:4 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:168 (168.0 b)
Interrupt:10 Base address:0x4000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:800 (800.0 b) TX bytes:800 (800.0 b)
[EMAIL PROTECTED] root]# service network restart
Shutting down interface eth0: [ OK ]
Shutting down interface eth1: [ OK ]
Shutting down loopback interface: [ OK ]
Disabling IPv4 packet forwarding: [ OK ]
Setting network parameters: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: [ OK ]
Bringing up interface eth1: [ OK ]
[EMAIL PROTECTED] root]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:90:27:E8:70:7A
inet addr:192.168.1.5 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:1 carrier:0
collisions:0 txqueuelen:100
RX bytes:553 (553.0 b) TX bytes:336 (336.0 b)
Interrupt:11 Base address:0x2000
eth1 Link encap:Ethernet HWaddr 00:90:27:E8:70:7B
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:7 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:336 (336.0 b)
Interrupt:10 Base address:0x4000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:800 (800.0 b) TX bytes:800 (800.0 b)
[EMAIL PROTECTED] root]#
*****************************************************
<<The following was copied separately but was not altered in any way>>
[EMAIL PROTECTED] root]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.1.5
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
[EMAIL PROTECTED] root]#
[EMAIL PROTECTED] root]# cat /etc/sysconfig/network-scripts/ifcfg-eth1
BROADCAST=192.168.0.255
MTU=1500
DEVICE=eth1
NETMASK=255.255.255.0
IPADDR=192.168.0.1
NETWORK=192.168.0.0
ONBOOT=yes
BOOTPROTO=none
[EMAIL PROTECTED] root]#
Thanks in advance for any explanations
Robert
--
"Live or die, I'll make a million."
-- Reebus Kneebus, before his jump to the center of the earth, Firesign Theater
3:39pm up 3 min, 2 users, load average: 0.22, 0.25, 0.10
One billion seconds ago it was 12:52:20 CST Thu 01/06/72
Repeat after me: "The primary purpose of any government
entity is to employ the unemployable."
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list