PDA

View Full Version : [ubuntu] 11.10 edit routing table



GeorgeMat
April 30th, 2012, 01:04 PM
Hi All,

I am pretty new to Linux.
I connected my laptop to the Lan using a static ip - edited from moreApps -> Network Tools - edited the ethernet interface eth0 - used the configure button.

Once that is done, the network connects for a time, then disconnects.
I get some values on the routing table which I did not put in. these values are also faulty.
How can I rectify these? Where are the routing table.

Pls find some info below.
george@george-Satellite-C650:~$ ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:26:6c:7b:9d:65
inet addr:192.168.3.4 Bcast:192.168.3.255 Mask:255.255.255.0
inet6 addr: fe80::226:6cff:fe7b:9d65/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:75 errors:0 dropped:0 overruns:0 frame:0
TX packets:268 errors:0 dropped:0 overruns:0 carrier:3
collisions:0 txqueuelen:1000
RX bytes:9130 (9.1 KB) TX bytes:35773 (35.7 KB)
Interrupt:46


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:80 errors:0 dropped:0 overruns:0 frame:0
TX packets:80 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:7480 (7.4 KB) TX bytes:7480 (7.4 KB)


wlan0 Link encap:Ethernet HWaddr 00:16:44:66:f3:dc
UP 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)




george@george-Satellite-C650:~$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.3.0 * 255.255.255.0 U 0 0 0 eth0
george@george-Satellite-C650:~$


george@george-Satellite-C650:~$ cat /etc/network/interfaces
auto eth0
iface eth0 inet dhcp


george@george-Satellite-C650:~$


Pls advice.

thanks

George