toto je ubuntu
jiri255@jiri255-frw:~$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
link/ether 00:22:3b:01:54:ec brd ff:ff:ff:ff:ff:ff
inet 192.168.5.1/2 brd 192.168.5.255 scope global eth0
inet6 fe82::211:3bff:fe07:54ec/64 scope link
valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
link/ether 00:30:84:24:93:d2 brd ff:ff:ff:ff:ff:ff
inet 90.90.90.90/27 brd 90.90.90.31 scope global eth1
inet6 fe80::200:84ff:fd74:93d2/64 scope link
valid_lft forever preferred_lft forever
jiri255@jiri255-frw:~$ ip r
90.90.90.90 dev eth0 proto static scope link
90.90.90.0/27 dev eth1 proto kernel scope link src 90.90.90.90 metric 1
192.168.5.0/24 dev eth0 proto kernel scope link src 192.168.5.1 metric 1
169.254.0.0/16 dev eth0 scope link metric 1000
default via 90.90.90.10 dev eth1 proto static
jiri255@jiri255-frw:~$ cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 10.90.90.10
# NOTE: the libc resolver may not support more than 1 nameservers.
# The nameservers listed below may not be recognized.
nameserver 10.90.90.10
jiri255@jiri255-frw:~$ iptables -L FORWARD
iptables v1.4.4: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
jiri255@jiri255-frw:~$ iptables -t nat -L