root@mws64:~# ifconfig
eth1 Link encap:Ethernet HWaddr 00:13:46:3b:8b:c5
inet addr:192.168.0.111 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::213:46ff:fe3b:8bc5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1738 errors:0 dropped:27 overruns:0 frame:0
TX packets:1258 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:180015 (175.7 KiB) TX bytes:179696 (175.4 KiB)
Interrupt:16 Base address:0x4000
eth1:name1 Link encap:Ethernet HWaddr 00:13:46:3b:8b:c5
inet addr:172.16.1.5 Bcast:172.16.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:16 Base address:0x4000
eth1:name2 Link encap:Ethernet HWaddr 00:13:46:3b:8b:c5
inet addr:172.16.2.5 Bcast:172.16.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:16 Base address:0x4000
eth1:name3 Link encap:Ethernet HWaddr 00:13:46:3b:8b:c5
inet addr:172.16.3.5 Bcast:172.16.3.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:16 Base address:0x4000
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:151 errors:0 dropped:0 overruns:0 frame:0
TX packets:151 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:13456 (13.1 KiB) TX bytes:13456 (13.1 KiB)
root@mws64:~# echo 1 > /proc/sys/net/ipv4/ip_forward
root@mws64:~#
Add a code snippet to your website: www.paste.org