I get IPV6 address and no IPV4. Why?
Hello,
I'm using CentOS 4.4. On boot or './network restart' my eth0 gets an IPV4 address but eth1 does not. I can assign an IPv4 address by 'ifconfig eth0 69.109.23.9' but that's not permanent. Config files are similar aside from the obvious. Anyone know the solution to this? Regards, Eric S [init.d]# ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:05:5D:33:A9:71 inet addr:192.168.1.9 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::205:5dff:fe33:a971/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:663 errors:0 dropped:0 overruns:0 frame:0 TX packets:1426 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:58738 (57.3 KiB) TX bytes:181435 (177.1 KiB) Interrupt:10 Base address:0xe800 [init.d]# ifconfig eth1 eth1 Link encap:Ethernet HWaddr 00:50:BA:BF:FF:C1 inet6 addr: fe80::250:baff:febf:ffc1/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:243 errors:0 dropped:0 overruns:0 frame:0 TX packets:10 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:16000 (15.6 KiB) TX bytes:756 (756.0 b) Interrupt:11 Base address:0xec00 /etc/sysconfig/network-scripts/eth0: # D-Link System Inc RTL8139 Ethernet DEVICE=eth0 ONBOOT=yes BOOTPROTO=static IPADDR=192.168.1.9 NETMASK=255.255.255.0 GATEWAY=192.168.1.5 HWADDR=00:05:5D:33:A9:71 NETWORK=192.168.1.0 /etc/sysconfig/network-scripts/eth1: # D-Link System Inc RTL8139 Ethernet DEVICE=eth1 ONBOOT=yes BOOTPROTO=static ADDR=69.109.23.9 NETMASK=255.255.255.248 GATEWAY=69.109.23.14 HWADDR=00:50:BA:BF:FF:C1 NETWORK=69.109.23.8 /etc/sysconfig/network: NETWORKING=yes NETWORKING_IPV6=no HOSTNAME=server.eswebs.com |
Quote:
Also, shouldn't those filenames be /etc/sysconfig/network-scripts/ifcfg-eth[0|1]? |
Good eyes. That was it. Thank you.
Regards, Eric S |
All times are GMT -5. The time now is 12:35 PM. |