Skip to main content

Thread: Trouble setting static IP 11.10


i having trouble setting static ip address.

working fine, until decided experiment xubuntu, in turn corrupted sorts of config files (thank goodness have backups). since have reinstalled ubuntu cd try original working config.

problem if replace backed /etc/network/interfaces , resolv.conf, entire networking goes out. can't ping router.

here whats returned on ifconfig. there 2 ethx's because had install nic since realtek r8169 isn't/wasn't compatible in 11.04. second eth0:avail showed @ boot.
code:
eth0      link encap:ethernet  hwaddr 40:61:86:ca:a1:33             broadcast multicast  mtu:1500  metric:1           rx packets:0 errors:0 dropped:0 overruns:0 frame:0           tx packets:0 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:1000            rx bytes:0 (0.0 b)  tx bytes:0 (0.0 b)           interrupt:41   eth1      link encap:ethernet  hwaddr 34:08:04:2d:c4:6b             inet addr:192.168.0.224  bcast:192.168.0.255  mask:255.255.255.0           inet6 addr: fe80::3608:4ff:fe2d:c46b/64 scope:link           broadcast running multicast  mtu:1500  metric:1           rx packets:6875 errors:0 dropped:0 overruns:0 frame:0           tx packets:6350 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:1000            rx bytes:5180870 (5.1 mb)  tx bytes:967711 (967.7 kb)           interrupt:16 base address:0x6c00   eth0:avahi link encap:ethernet  hwaddr 40:61:86:ca:a1:33             inet addr:169.254.8.79  bcast:169.254.255.255  mask:255.255.0.0           broadcast multicast  mtu:1500  metric:1           interrupt:41   lo        link encap:local loopback             inet addr:127.0.0.1  mask:255.0.0.0           inet6 addr: ::1/128 scope:host           loopback running  mtu:16436  metric:1           rx packets:40 errors:0 dropped:0 overruns:0 frame:0           tx packets:40 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:0            rx bytes:4124 (4.1 kb)  tx bytes:4124 (4.1 kb)
eth1 nic installed, double checked through mac address up.

currently, running dhcp, set ip 192.168.0.230 have security permissions on other devices allow me log in on address. instead of reconfiguring whole network, restore machine working order.

here /etc/network/interfaces have on kill networking now:
code:
auto lo iface lo inet loopback  auto eth0 iface eth0 inet static 	address 192.168.0.230 	netmask 255.255.255.0 	network 192.168.0.0 	broadcast 192.168.0.255 	gateway 192.168.0.27
i hope i'm missing obvious.

in advance time

quote posted guyfromfl view post
i having trouble setting static ip address.

working fine, until decided experiment xubuntu, in turn corrupted sorts of config files (thank goodness have backups). since have reinstalled ubuntu cd try original working config.

problem if replace backed /etc/network/interfaces , resolv.conf, entire networking goes out. can't ping router.

here whats returned on ifconfig. there 2 ethx's because had install nic since realtek r8169 isn't/wasn't compatible in 11.04. second eth0:avail showed @ boot.
code:
eth0      link encap:ethernet  hwaddr 40:61:86:ca:a1:33             broadcast multicast  mtu:1500  metric:1           rx packets:0 errors:0 dropped:0 overruns:0 frame:0           tx packets:0 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:1000            rx bytes:0 (0.0 b)  tx bytes:0 (0.0 b)           interrupt:41   eth1      link encap:ethernet  hwaddr 34:08:04:2d:c4:6b             inet addr:192.168.0.224  bcast:192.168.0.255  mask:255.255.255.0           inet6 addr: fe80::3608:4ff:fe2d:c46b/64 scope:link           broadcast running multicast  mtu:1500  metric:1           rx packets:6875 errors:0 dropped:0 overruns:0 frame:0           tx packets:6350 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:1000            rx bytes:5180870 (5.1 mb)  tx bytes:967711 (967.7 kb)           interrupt:16 base address:0x6c00   eth0:avahi link encap:ethernet  hwaddr 40:61:86:ca:a1:33             inet addr:169.254.8.79  bcast:169.254.255.255  mask:255.255.0.0           broadcast multicast  mtu:1500  metric:1           interrupt:41   lo        link encap:local loopback             inet addr:127.0.0.1  mask:255.0.0.0           inet6 addr: ::1/128 scope:host           loopback running  mtu:16436  metric:1           rx packets:40 errors:0 dropped:0 overruns:0 frame:0           tx packets:40 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:0            rx bytes:4124 (4.1 kb)  tx bytes:4124 (4.1 kb)
eth1 nic installed, double checked through mac address up.

currently, running dhcp, set ip 192.168.0.230 have security permissions on other devices allow me log in on address. instead of reconfiguring whole network, restore machine working order.

here /etc/network/interfaces have on kill networking now:
code:
auto lo iface lo inet loopback  auto eth0 iface eth0 inet static     address 192.168.0.230     netmask 255.255.255.0     network 192.168.0.0     broadcast 192.168.0.255     gateway 192.168.0.27
i hope i'm missing obvious.

in advance time
your network config says "eth0" want "eth1"


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] Trouble setting static IP 11.10


Ubuntu

Comments

Popular posts from this blog

Joomal 3.6.3 update error - PHP temporary folder is not set - Joomla! Forum - community, help and support

Upgrade 3.4.8 to 3.5.1 failed "download package failed" - Joomla! Forum - community, help and support

Fatal error during instalation - Joomla! Forum - community, help and support