Friday, April 02, 2010

Kernel IP Routing

Today i use a old-school IBM Thinkpad T30 with Slax, this laptop has several connection devices such as irda, ethernet and a wireless ethernet adapter. After assign an IP address, gateway and nameservers for wireless adapter (wlan0) then connecting to my access point it seem the default routing was altered. So i do it manually with this routing command

slax@root:~# route add default gw 172.16.1.118 dev wlan0

Now look at routing table output

http://pastebin.com/raw.php?i=pceQuWjc