- load the network driver
insmod your_drivername
- Set up your local loopback
ifconfig lo 127.0.0.1
route add 127.0.0.0 lo
- Set up your ethernet card
ifconfig eth0 192.168.0.2 netmask 255.255.255.0
route add 192.168.0.2 eth0
- View the results
FIXME: Insert ifconfig sample here
showing the result of the above
configuration statements.
- route -n
route -n
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.0.2 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
FIXME: Make sure the above listing is correct
according to the above configuration statements.