All pastes #927071 Raw Edit

Miscellany

public text v1 · immutable
·published 2008-03-04 00:41 UTC
rendered paste body
THIS IS THE CURRENT CONFIG ..
[root@wc ~]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:40:F4:2E:73:CD
          inet addr:64.142.36.234  Bcast:64.142.36.255  Mask:255.255.255.0
          inet6 addr: fe80::240:f4ff:fe2e:73cd/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:303284 errors:0 dropped:0 overruns:0 frame:0
          TX packets:252130 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:106898177 (101.9 MiB)  TX bytes:41875151 (39.9 MiB)
          Interrupt:16 Base address:0xe000

eth1      Link encap:Ethernet  HWaddr 00:11:5B:49:B9:50
          inet addr:10.0.0.1  Bcast:10.0.0.255  Mask:255.255.255.0
          inet6 addr: fe80::211:5bff:fe49:b950/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:396234 errors:0 dropped:0 overruns:0 frame:0
          TX packets:421778 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:56685476 (54.0 MiB)  TX bytes:178901734 (170.6 MiB)
          Interrupt:19 Base address:0xe000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:724 errors:0 dropped:0 overruns:0 frame:0
          TX packets:724 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:163834 (159.9 KiB)  TX bytes:163834 (159.9 KiB)


[root@wc network-scripts]# cat ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
TYPE=Ethernet
BOOTPROTO=dhcp
HWADDR=00:40:F4:2E:73:CD

[root@wc network-scripts]# cat ifcfg-eth01
cat: ifcfg-eth01: No such file or directory
[root@wc network-scripts]# cat ifcfg-eth1
DEVICE=eth0
ONBOOT=yes
TYPE=Ethernet
HWADDR=00:40:F4:2E:73:CD

BOOTPROTO=dhcp


 x25 (CCITT X.25)
[root@wc network-scripts]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
64.142.36.0     *               255.255.255.0   U     0      0        0 eth0
10.0.0.0        *               255.255.255.0   U     0      0        0 eth1
169.254.0.0     *               255.255.0.0     U     0      0        0 eth1
default         64-142-36-1.dsl 0.0.0.0         UG    0      0        0 eth0
[root@wc network-scripts]#


eth0: SiS 900 PCI Fast Ethernet at 0xe000, IRQ 19, 00:11:5b:49:b9:50.
8139too Fast Ethernet driver 0.9.28
eth1: RealTek RTL8139 at 0xd083e000, 00:40:f4:2e:73:cd, IRQ 16

-----------------------------------------

new configs :

[root@wc network-scripts]# cat ifcfg-eth{0,1}
DEVICE=eth0
ONBOOT=yes
TYPE=Ethernet
BOOTPROTO=none
HWADDR=00:11:5b:49:b9:50



DEVICE=eth1
ONBOOT=yes
TYPE=Ethernet
HWADDR=00:40:F4:2E:73:CD
NETMASK=255.255.255.0
IPADDR=10.0.0.1