I recently installed Ubuntu Server 10.10. Establishing a network connection during the installation process was problematic, it took me a few attempts to get it working (not that I actually did anything other than retrying). However, now when I boot the server it does not have a network connection. ifconfig says that eth0 is configured, but it doesn't get an IP. So I have to do
And it would work. But the same problem will occur when I reboot.Code:sudo ifdown eth0 sudo ifup eth0 192.168.1.103
Yes, the router is configured to give this server a static IP. But I've changed /etc/network/interfaces to reflect this. This is my /etc/network/interfaces file:
ifconfig output (after doing ifdown/ifup):Code:# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface #auto eth0 #iface eth0 inet dhcp auto eth0 iface eth0 inet static address 192.168.1.103 netmask 255.255.255.0 gateway 192.168.1.1
Code:eth0 Link encap:Ethernet HWaddr 00:24:8c:26:e2:74 inet addr:192.168.1.103 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::224:8cff:fe26:e274/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:322 errors:0 dropped:0 overruns:0 frame:0 TX packets:213 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:30644 (30.6 KB) TX bytes:85687 (85.6 KB) Interrupt:28 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:7 errors:0 dropped:0 overruns:0 frame:0 TX packets:7 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:612 (612.0 B) TX bytes:612 (612.0 B)



Adv Reply


Bookmarks