Timothy Murphy wrote:
david walcroft wrote:
Can someone tell how to get over this error please
[david@reddwarf ~]$ sudo service network restart
Shutting down interface eth0: [ OK ]
Shutting down interface eth1: [ OK ]
Shutting down loopback interface: [ OK ]
Disabling IPv4 packet forwarding: net.ipv4.ip_forward = 0
[ OK ]
SIOCGIFFLAGS: No such device
Bringing up loopback interface: [ OK ]
Bringing up interface eth0:
Determining IP information for eth0... done.
[ OK ]
Bringing up interface eth1: sysfs class device: Permission denied
Error, some other host already uses address 192.168.0.1.
How do eth0 and eth1 get their IP addresses?
>From dhcp?
Eth0 is dhcp,Ethe1 is static 192.168.0.1
What does "ifconfig eth1" say?
[david@reddwarf ~]$ ifconfig eth1
eth1 Link encap:Ethernet HWaddr 00:E0:4C:14:1B:09
inet6 addr: fe80::2e0:4cff:fe14:1b09/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:747 (747.0 b) TX bytes:578 (578.0 b)
Interrupt:22 Base address:0x8c00
[david@reddwarf ~]$
What does "route" say?
[david@reddwarf ~]$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
121.208.32.0 * 255.255.248.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
default 121.208.32.1 0.0.0.0 UG 0 0 0 eth0
[david@reddwarf ~]$
What is in /etc/sysconfig/network-scripts/ifcfg-eth1?
# Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+
DEVICE=eth1
ONBOOT=yes
BOOTPROTO=none
HWADDR=00:e0:4c:14:1b:09
NETMASK=255.255.255.0
IPADDR=192.168.0.1
GATEWAY=192.168.0.0
TYPE=Ethernet
USERCTL=no
IPV6INIT=no
PEERDNS=yes
[david@reddwarf ~]$ sudo ping -c 5 192.168.0.2
PING 192.168.0.2 (192.168.0.2) 56(84) bytes of data.
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
What do I do to get ping to work and is it part of this problem overall.
192.168.0.2 is on the other end of my crossover cable
Thanks david