This is my ifcfg-eth0 file :
Code:
# Intel Corporation 82545EM Gigabit Ethernet Controller (Copper)
DEVICE=eth0
BOOTPROTO=static
HWADDR=08:00:27:82:EB:22
ONBOOT=YES
IPADRR=192.168.2.2
NETMASK=255.255.255.248
GATEWAY=192.168.2.1
This is the output ifconfig :
Code:
[root@asterisk ~]# ifconfig eth0 up
[root@asterisk ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 08:00:27:82:EB:22
inet6 addr: fe80::a00:27ff:fe82:eb22/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:37 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:7709 (7.5 KiB)
Base address:0xc060 Memory:f0520000-f0540000
eth1 Link encap:Ethernet HWaddr 08:00:27:48:D8:A1
inet addr:192.168.1.248 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe48:d8a1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:281 errors:0 dropped:0 overruns:0 frame:0
TX packets:269 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:23866 (23.3 KiB) TX bytes:49033 (47.8 KiB)
Interrupt:11 Base address:0xc040
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:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:560 (560.0 b) TX bytes:560 (560.0 b)
Why is there no IP-address assigned to it ?
I already did a "/sbin/service network restart"...
CentOS 5.3 by the way...