Hello,
New SUSE 11.3 install connects to network/internet etc OK with DHCP-assigned IP address. When I switch to static IP, I can no longer ping internal network, or anything else. This works OK with SUSE 11.2 on same hardware and (as far as I can see) same setup.
Some diagnostics are shown below.
Hope you can help.
Fmc
Firewall
Disabling the firewall makes no difference.
Not using a network manager (can’t see how to assign fixed address if I do - all greyed out).
**ifup eth0: **
eth0 device: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02)
SuSEfirewall2: Warning: no default firewall zone defined, assuming ‘ext’
(not sure why the warning - eth0 is assigned to external in the firewall setup).
ifconfig -a
eth0 Link encap:Ethernet HWaddr 08:00:27:98:90:58
inet addr:172.16.1.54 Bcast:172.16.1.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe98:9058/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:846 errors:0 dropped:0 overruns:0 frame:0
TX packets:1249 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:642497 (627.4 Kb) TX bytes:167298 (163.3 Kb)
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:508 errors:0 dropped:0 overruns:0 frame:0
TX packets:508 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:54253 (52.9 Kb) TX bytes:54253 (52.9 Kb)
dhcpcd-test eth0
info, eth0: hardware address = 08:00:27:98:90:58
info, eth0: broadcasting for a lease
debug, eth0: sending DHCP_DISCOVER with xid 0x3fd1ef7e
debug, eth0: waiting for 10 seconds
debug, eth0: got a packet with xid 0x3fd1ef7e
info, eth0: offered 10.0.2.15 from 10.0.2.2
DHCPSIADDR=‘10.0.2.4’
IPADDR=‘10.0.2.15’
NETMASK=‘255.255.255.0’
NETWORK=‘10.0.2.0’
BROADCAST=‘10.0.2.255’
ROUTES=’’
GATEWAYS=‘10.0.2.2’
DNSDOMAIN=’ ’
DNSSERVERS=‘172.16.1.254’
DHCPSID=‘10.0.2.2’
LEASETIME=‘86400’
RENEWALTIME=‘0’
REBINDTIME=‘0’
INTERFACE=‘eth0’
CLASSID=‘dhcpcd 3.2.3’
CLIENTID=‘01:08:00:27:98:90:58’
DHCPCHADDR=‘08:00:27:98:90:58’
info, eth0: exiting
I have no idea where the 10.xxx addresses are coming from. There are none of these in the YAST network settings screens. The default IPv4 gateway is 172.16.1.254 for eth0 in the routing screen, but this doesn’t seem to be reflected in this test. This is a key difference with the same test for the 11.2 install - 11.2 returns a consistent default gateway.
ping 10.0.2.2
Destination host unreachable
ping 172.16.1.254
Destination host unreachable
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
172.16.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 172.16.1.254 0.0.0.0 UG 0 0 0 eth0
This is the same as the 11.2 output
grep 172.16.1.254 /etc/resolv.conf
nameserver 172.16.1.254