Hello,
I setup a RHAS3 with 2 NICs, one connected to internet with real IP
and the other connected to my local LAN. I have modified the
ip_forwarding file content and issued the iptables line below
iptables -t nat -A -POSTROUTING -s internal.ip/internal.mask -o ethx
-j SNAT --to-source external.ip
which allowed my to allow my local users use this box as a gateway to
internet.
For setting up a web server locally, and by assigning another real IP
and making proper forwarding so that this server would server both
local and non-local internet users, I added the line
ifconfig eth0:7 real.ip.no.7 netmask 255.255.255.0
into /etc/rc.local and also issued the following lines at the command
prompt ;
iptables -t nat -A PREROUTING -d real.ip.no.7 -j DNAT--to 10.0.0.7
iptables -t nat -A POSTROUTING -s 10.0.0.7 -j SNAT--to real.ip.no.7
and it work. People would access this server both from inside and
outside with apropriate IP numbers.
This way I figured out that the /etc/sysconfig/iptables file included
#****************************************
# Generated by iptables-save v1.2.8 on Mon Mar 7 13:58:44 2005
*filter
:INPUT ACCEPT [862:50694]
:FORWARD ACCEPT [455:135347]
:OUTPUT ACCEPT [558:41786]
COMMIT
# Completed on Mon Mar 7 13:58:44 2005
# Generated by iptables-save v1.2.8 on Mon Mar 7 13:58:44 2005
*nat
:OUTPUT ACCEPT [0:0]
:PREROUTING ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
-A PREROUTING -d real.ip.no.7 -j DNAT --to-destination 10.0.0.7
-A POSTROUTING -s 10.0.0.0/255.0.0.0 -o eth0 -j SNAT --to-source
real.ip.no.9
-A POSTROUTING -s 10.0.0.7 -j SNAT --to-source real.ip.no.7
COMMIT
# Completed on Mon Mar 7 13:58:44 2005
# Generated by iptables-save v1.2.8 on Mon Mar 7 13:58:44 2005
*mangle
:PREROUTING ACCEPT [1317:186041]
:INPUT ACCEPT [862:50694]
:FORWARD ACCEPT [455:135347]
:OUTPUT ACCEPT [558:41786]
:POSTROUTING ACCEPT [1013:177133]
COMMIT
# Completed on Mon Mar 7 13:58:44 2005
*********************************************
So I though it would be fine modifiying this /etc/sysconfig/iptables
file manually to add the iptable definitions of all my other 20+
servers. So together with
-A PREROUTING -d real.ip.no.7 -j DNAT --to-destination 10.0.0.7
-A POSTROUTING -s 10.0.0.7 -j SNAT --to-source real.ip.no.7
I added the lines ;
-A PREROUTING -d real.ip.no.8 -j DNAT --to-destination 10.0.0.8
.......
-A PREROUTING -d real.ip.no.49 -j DNAT --to-destination 10.0.0.49
and also
-A POSTROUTING -s 10.0.0.8 -j SNAT --to-source real.ip.no.8
......
-A POSTROUTING -s 10.0.0.49 -j SNAT --to-source real.ip.no.49
Unfortunately my gateway Linux now forwards the traffic of only the
server 10.0.0.7 and no one else.
the current iptables-save and ifconfig results are below and I cannot
find out what have I done wrong.
Any help is appreciated.
Regards.
############################################
# Generated by iptables-save v1.2.8 on Thu Mar 24 17:03:35 2005
*filter
:INPUT ACCEPT [77255:23168493]
:FORWARD ACCEPT [17778:2515427]
:OUTPUT ACCEPT [30188:17371593]
COMMIT
# Completed on Thu Mar 24 17:03:35 2005
# Generated by iptables-save v1.2.8 on Thu Mar 24 17:03:35 2005
*mangle
:PREROUTING ACCEPT [103939:26571469]
:INPUT ACCEPT [77257:23168649]
:FORWARD ACCEPT [17778:2515427]
:OUTPUT ACCEPT [30215:17373645]
:POSTROUTING ACCEPT [47966:19887020]
COMMIT
# Completed on Thu Mar 24 17:03:35 2005
# Generated by iptables-save v1.2.8 on Thu Mar 24 17:03:35 2005
*nat
:PREROUTING ACCEPT [16620:1847025]
:POSTROUTING ACCEPT [4193:226555]
:OUTPUT ACCEPT [1067:74733]
-A PREROUTING -d real.ip.no.8 -j DNAT --to-destination 10.0.0.8
-A PREROUTING -d real.ip.no.11 -j DNAT --to-destination 10.0.0.11
-A PREROUTING -d real.ip.no.12 -j DNAT --to-destination 10.0.0.12
-A PREROUTING -d real.ip.no.13 -j DNAT --to-destination 10.0.0.13
-A PREROUTING -d real.ip.no.14 -j DNAT --to-destination 10.0.0.14
-A PREROUTING -d real.ip.no.15 -j DNAT --to-destination 10.0.0.15
-A PREROUTING -d real.ip.no.16 -j DNAT --to-destination 10.0.0.16
-A PREROUTING -d real.ip.no.17 -j DNAT --to-destination 10.0.0.17
-A PREROUTING -d real.ip.no.18 -j DNAT --to-destination 10.0.0.18
-A PREROUTING -d real.ip.no.19 -j DNAT --to-destination 10.0.0.19
-A PREROUTING -d real.ip.no.20 -j DNAT --to-destination 10.0.0.20
-A PREROUTING -d real.ip.no.21 -j DNAT --to-destination 10.0.0.21
-A PREROUTING -d real.ip.no.22 -j DNAT --to-destination 10.0.0.22
-A PREROUTING -d real.ip.no.23 -j DNAT --to-destination 10.0.0.23
-A PREROUTING -d real.ip.no.24 -j DNAT --to-destination 10.0.0.24
-A PREROUTING -d real.ip.no.25 -j DNAT --to-destination 10.0.0.25
-A PREROUTING -d real.ip.no.30 -j DNAT --to-destination 10.0.0.30
-A PREROUTING -d real.ip.no.40 -j DNAT --to-destination 10.0.0.40
-A PREROUTING -d real.ip.no.41 -j DNAT --to-destination 10.0.0.41
-A PREROUTING -d real.ip.no.43 -j DNAT --to-destination 10.0.0.43
-A PREROUTING -d real.ip.no.44 -j DNAT --to-destination 10.0.0.44
-A PREROUTING -d real.ip.no.45 -j DNAT --to-destination 10.0.0.45
-A PREROUTING -d real.ip.no.46 -j DNAT --to-destination 10.0.0.46
-A PREROUTING -d real.ip.no.47 -j DNAT --to-destination 10.0.0.47
-A PREROUTING -d real.ip.no.48 -j DNAT --to-destination 10.0.0.48
-A PREROUTING -d real.ip.no.49 -j DNAT --to-destination 10.0.0.49
-A PREROUTING -i eth1 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports
3128
-A POSTROUTING -s 10.0.0.0/255.0.0.0 -o eth0 -j SNAT --to-source
real.ip.no.9
-A POSTROUTING -s 10.0.0.8 -j SNAT --to-source real.ip.no.8
-A POSTROUTING -s 10.0.0.11 -j SNAT --to-source real.ip.no.11
-A POSTROUTING -s 10.0.0.12 -j SNAT --to-source real.ip.no.12
-A POSTROUTING -s 10.0.0.13 -j SNAT --to-source real.ip.no.13
-A POSTROUTING -s 10.0.0.14 -j SNAT --to-source real.ip.no.14
-A POSTROUTING -s 10.0.0.15 -j SNAT --to-source real.ip.no.15
-A POSTROUTING -s 10.0.0.16 -j SNAT --to-source real.ip.no.16
-A POSTROUTING -s 10.0.0.17 -j SNAT --to-source real.ip.no.17
-A POSTROUTING -s 10.0.0.18 -j SNAT --to-source real.ip.no.18
-A POSTROUTING -s 10.0.0.19 -j SNAT --to-source real.ip.no.19
-A POSTROUTING -s 10.0.0.20 -j SNAT --to-source real.ip.no.20
-A POSTROUTING -s 10.0.0.21 -j SNAT --to-source real.ip.no.21
-A POSTROUTING -s 10.0.0.22 -j SNAT --to-source real.ip.no.22
-A POSTROUTING -s 10.0.0.23 -j SNAT --to-source real.ip.no.23
-A POSTROUTING -s 10.0.0.24 -j SNAT --to-source real.ip.no.24
-A POSTROUTING -s 10.0.0.25 -j SNAT --to-source real.ip.no.25
-A POSTROUTING -s 10.0.0.30 -j SNAT --to-source real.ip.no.30
-A POSTROUTING -s 10.0.0.40 -j SNAT --to-source real.ip.no.40
-A POSTROUTING -s 10.0.0.41 -j SNAT --to-source real.ip.no.41
-A POSTROUTING -s 10.0.0.43 -j SNAT --to-source real.ip.no.43
-A POSTROUTING -s 10.0.0.44 -j SNAT --to-source real.ip.no.44
-A POSTROUTING -s 10.0.0.45 -j SNAT --to-source real.ip.no.45
-A POSTROUTING -s 10.0.0.46 -j SNAT --to-source real.ip.no.46
-A POSTROUTING -s 10.0.0.47 -j SNAT --to-source real.ip.no.47
-A POSTROUTING -s 10.0.0.48 -j SNAT --to-source real.ip.no.48
-A POSTROUTING -s 10.0.0.49 -j SNAT --to-source real.ip.no.49
COMMIT
# Completed on Thu Mar 24 17:03:35 2005
##############################################
ifconfig result
##############################################
eth0 Link encap:Ethernet HWaddr 00:xx:xx:xx:90:60
inet addr:real.ip.no.9 Bcast:real.ip.no.255
Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:24971 errors:0 dropped:0 overruns:0 frame:0
TX packets:13666 errors:3277 dropped:0 overruns:0
carrier:3277
collisions:0 txqueuelen:1000
RX bytes:13988350 (13.3 Mb) TX bytes:5848345 (5.5 Mb)
Interrupt:5 Base address:0xc000 Memory:e9100000-e9100038
eth0:0 Link encap:Ethernet HWaddr 00:xx:xx:xx:90:60
inet addr:real.ip.no.8 Bcast:real.ip.no.255
Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:5862783 errors:0 dropped:0 overruns:0 frame:0
TX packets:25620 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:361974659 (345.2 Mb) TX bytes:14136519 (13.4 Mb)
Interrupt:5 Base address:0xc000 Memory:e9100000-e9100038
eth0:11 Link encap:Ethernet HWaddr 00:xx:xx:xx:90:60
inet addr:real.ip.no.11 Bcast:real.ip.no.255
Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:5862783 errors:0 dropped:0 overruns:0 frame:0
TX packets:25620 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:361974659 (345.2 Mb) TX bytes:14136519 (13.4 Mb)
Interrupt:5 Base address:0xc000 Memory:e9100000-e9100038
eth0:12 Link encap:Ethernet HWaddr 00:xx:xx:xx:90:60
inet addr:real.ip.no.12 Bcast:real.ip.no.255
Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:5862783 errors:0 dropped:0 overruns:0 frame:0
TX packets:25620 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:361974659 (345.2 Mb) TX bytes:14136519 (13.4 Mb)
Interrupt:5 Base address:0xc000 Memory:e9100000-e9100038
eth0:13 Link encap:Ethernet HWaddr 00:xx:xx:xx:90:60
inet addr:real.ip.no.13 Bcast:real.ip.no.255
Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:5862783 errors:0 dropped:0 overruns:0 frame:0
TX packets:25620 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:361974659 (345.2 Mb) TX bytes:14136519 (13.4 Mb)
Interrupt:5 Base address:0xc000 Memory:e9100000-e9100038
eth0:14 Link encap:Ethernet HWaddr 00:xx:xx:xx:90:60
inet addr:real.ip.no.14 Bcast:real.ip.no.255
Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:5862783 errors:0 dropped:0 overruns:0 frame:0
TX packets:25620 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:361974659 (345.2 Mb) TX bytes:14136519 (13.4 Mb)
Interrupt:5 Base address:0xc000 Memory:e9100000-e9100038
eth0:15 Link encap:Ethernet HWaddr 00:xx:xx:xx:90:60
inet addr:real.ip.no.15 Bcast:real.ip.no.255
Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:5862783 errors:0 dropped:0 overruns:0 frame:0
TX packets:25620 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:361974659 (345.2 Mb) TX bytes:14136519 (13.4 Mb)
Interrupt:5 Base address:0xc000 Memory:e9100000-e9100038
eth0:16 Link encap:Ethernet HWaddr 00:xx:xx:xx:90:60
inet addr:real.ip.no.16 Bcast:real.ip.no.255
Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:5862783 errors:0 dropped:0 overruns:0 frame:0
TX packets:25620 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:361974659 (345.2 Mb) TX bytes:14136519 (13.4 Mb)
Interrupt:5 Base address:0xc000 Memory:e9100000-e9100038
eth0:17 Link encap:Ethernet HWaddr 00:xx:xx:xx:90:60
inet addr:real.ip.no.17 Bcast:real.ip.no.255
Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:5862783 errors:0 dropped:0 overruns:0 frame:0
TX packets:25620 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:361974659 (345.2 Mb) TX bytes:14136519 (13.4 Mb)
Interrupt:5 Base address:0xc000 Memory:e9100000-e9100038
eth0:18 Link encap:Ethernet HWaddr 00:xx:xx:xx:90:60
inet addr:real.ip.no.18 Bcast:real.ip.no.255
Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:5862785 errors:0 dropped:0 overruns:0 frame:0
TX packets:25620 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:361974779 (345.2 Mb) TX bytes:14136519 (13.4 Mb)
Interrupt:5 Base address:0xc000 Memory:e9100000-e9100038
eth0:19 Link encap:Ethernet HWaddr 00:xx:xx:xx:90:60
inet addr:real.ip.no.19 Bcast:real.ip.no.255
Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:5862785 errors:0 dropped:0 overruns:0 frame:0
TX packets:25620 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:361974779 (345.2 Mb) TX bytes:14136519 (13.4 Mb)
Interrupt:5 Base address:0xc000 Memory:e9100000-e9100038
eth0:20 Link encap:Ethernet HWaddr 00:xx:xx:xx:90:60
inet addr:real.ip.no.20 Bcast:real.ip.no.255
Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:5862786 errors:0 dropped:0 overruns:0 frame:0
TX packets:25620 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:361974839 (345.2 Mb) TX bytes:14136519 (13.4 Mb)
Interrupt:5 Base address:0xc000 Memory:e9100000-e9100038
eth0:21 Link encap:Ethernet HWaddr 00:xx:xx:xx:90:60
inet addr:real.ip.no.21 Bcast:real.ip.no.255
Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:5862786 errors:0 dropped:0 overruns:0 frame:0
TX packets:25620 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:361974839 (345.2 Mb) TX bytes:14136519 (13.4 Mb)
Interrupt:5 Base address:0xc000 Memory:e9100000-e9100038
eth0:22 Link encap:Ethernet HWaddr 00:xx:xx:xx:90:60
inet addr:real.ip.no.22 Bcast:real.ip.no.255
Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:5862787 errors:0 dropped:0 overruns:0 frame:0
TX packets:25620 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:361974899 (345.2 Mb) TX bytes:14136519 (13.4 Mb)
Interrupt:5 Base address:0xc000 Memory:e9100000-e9100038
eth0:23 Link encap:Ethernet HWaddr 00:xx:xx:xx:90:60
inet addr:real.ip.no.23 Bcast:real.ip.no.255
Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:5862787 errors:0 dropped:0 overruns:0 frame:0
TX packets:25620 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:361974899 (345.2 Mb) TX bytes:14136519 (13.4 Mb)
Interrupt:5 Base address:0xc000 Memory:e9100000-e9100038
eth0:24 Link encap:Ethernet HWaddr 00:xx:xx:xx:90:60
inet addr:real.ip.no.24 Bcast:real.ip.no.255
Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:5862787 errors:0 dropped:0 overruns:0 frame:0
TX packets:25620 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:361974899 (345.2 Mb) TX bytes:14136519 (13.4 Mb)
Interrupt:5 Base address:0xc000 Memory:e9100000-e9100038
eth0:25 Link encap:Ethernet HWaddr 00:xx:xx:xx:90:60
inet addr:real.ip.no.25 Bcast:real.ip.no.255
Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:5862791 errors:0 dropped:0 overruns:0 frame:0
TX packets:25620 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:361975139 (345.2 Mb) TX bytes:14136519 (13.4 Mb)
Interrupt:5 Base address:0xc000 Memory:e9100000-e9100038
eth0:30 Link encap:Ethernet HWaddr 00:xx:xx:xx:90:60
inet addr:real.ip.no.30 Bcast:real.ip.no.255
Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:5862797 errors:0 dropped:0 overruns:0 frame:0
TX packets:25620 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:361975499 (345.2 Mb) TX bytes:14136519 (13.4 Mb)
Interrupt:5 Base address:0xc000 Memory:e9100000-e9100038
eth0:40 Link encap:Ethernet HWaddr 00:xx:xx:xx:90:60
inet addr:real.ip.no.40 Bcast:real.ip.no.255
Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:5862798 errors:0 dropped:0 overruns:0 frame:0
TX packets:25620 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:361975559 (345.2 Mb) TX bytes:14136519 (13.4 Mb)
Interrupt:5 Base address:0xc000 Memory:e9100000-e9100038
eth0:41 Link encap:Ethernet HWaddr 00:xx:xx:xx:90:60
inet addr:real.ip.no.41 Bcast:real.ip.no.255
Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:5862799 errors:0 dropped:0 overruns:0 frame:0
TX packets:25620 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:361975619 (345.2 Mb) TX bytes:14136519 (13.4 Mb)
Interrupt:5 Base address:0xc000 Memory:e9100000-e9100038
eth0:43 Link encap:Ethernet HWaddr 00:xx:xx:xx:90:60
inet addr:real.ip.no.43 Bcast:real.ip.no.255
Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:5862800 errors:0 dropped:0 overruns:0 frame:0
TX packets:25620 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:361975679 (345.2 Mb) TX bytes:14136519 (13.4 Mb)
Interrupt:5 Base address:0xc000 Memory:e9100000-e9100038
eth0:44 Link encap:Ethernet HWaddr 00:xx:xx:xx:90:60
inet addr:real.ip.no.44 Bcast:real.ip.no.255
Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:5862800 errors:0 dropped:0 overruns:0 frame:0
TX packets:25620 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:361975679 (345.2 Mb) TX bytes:14136519 (13.4 Mb)
Interrupt:5 Base address:0xc000 Memory:e9100000-e9100038
eth0:45 Link encap:Ethernet HWaddr 00:xx:xx:xx:90:60
inet addr:real.ip.no.45 Bcast:real.ip.no.255
Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:5862800 errors:0 dropped:0 overruns:0 frame:0
TX packets:25620 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:361975679 (345.2 Mb) TX bytes:14136519 (13.4 Mb)
Interrupt:5 Base address:0xc000 Memory:e9100000-e9100038
eth0:46 Link encap:Ethernet HWaddr 00:xx:xx:xx:90:60
inet addr:real.ip.no.46 Bcast:real.ip.no.255
Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:5862800 errors:0 dropped:0 overruns:0 frame:0
TX packets:25620 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:361975679 (345.2 Mb) TX bytes:14136519 (13.4 Mb)
Interrupt:5 Base address:0xc000 Memory:e9100000-e9100038
eth0:47 Link encap:Ethernet HWaddr 00:xx:xx:xx:90:60
inet addr:real.ip.no.47 Bcast:real.ip.no.255
Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:5862800 errors:0 dropped:0 overruns:0 frame:0
TX packets:25620 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:361975679 (345.2 Mb) TX bytes:14136519 (13.4 Mb)
Interrupt:5 Base address:0xc000 Memory:e9100000-e9100038
eth0:48 Link encap:Ethernet HWaddr 00:xx:xx:xx:90:60
inet addr:real.ip.no.48 Bcast:real.ip.no.255
Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:5862800 errors:0 dropped:0 overruns:0 frame:0
TX packets:25620 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:361975679 (345.2 Mb) TX bytes:14136519 (13.4 Mb)
Interrupt:5 Base address:0xc000 Memory:e9100000-e9100038
eth0:49 Link encap:Ethernet HWaddr 00:xx:xx:xx:90:60
inet addr:real.ip.no.49 Bcast:real.ip.no.255
Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:5862800 errors:0 dropped:0 overruns:0 frame:0
TX packets:25620 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:361975679 (345.2 Mb) TX bytes:14136519 (13.4 Mb)
Interrupt:5 Base address:0xc000 Memory:e9100000-e9100038
eth1 Link encap:Ethernet HWaddr 00:02:E3:14:74

5
inet addr:10.0.0.9 Bcast:10.255.255.255 Mask:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5862800 errors:0 dropped:0 overruns:0 frame:0
TX packets:25620 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:361975679 (345.2 Mb) TX bytes:14136519 (13.4 Mb)
Interrupt:11 Base address:0xf000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2885 errors:0 dropped:0 overruns:0 frame:0
TX packets:2885 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:256306 (250.2 Kb) TX bytes:256306 (250.2 Kb)