OpenVZ Forum - RDF feed
type: channel
items: simple internet router in VE?

simple internet router in VE?
type: item
description: Hello, I'm trying to setup a simple router with NAT to get internet access from IP 172.16.0.99 at the LAN (eth1) to the WAN (eth0). interfaces on HN: # ifconfig eth0 Link encap:Ethernet Hardware Adresse 00:15:17:4B:0A:50 inet Adresse:192.168.130.208 Bcast:192.168.130.255 Maske:255.255.255.0 inet6 Adresse: fe80::215:17ff:fe4b:a50/64 GÃ¼ltigkeitsbereich:Verbindung UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4194 errors:0 dropped:0 overruns:0 frame:0 TX packets:7392 errors:0 dropped:0 overruns:0 carrier:0 Kollisionen:0 SendewarteschlangenlÃ¤nge:1000 RX bytes:490557 (479.0 KiB) TX bytes:1777986 (1.6 MiB) Speicher:feb80000-feba0000 javascript:// eth1 Link encap:Ethernet Hardware Adresse 00:15:17:4B:0A:51 inet Adresse:172.16.0.3 Bcast:172.16.0.255 Maske:255.255.255.0 inet6 Adresse: fe80::215:17ff:fe4b:a51/64 GÃ¼ltigkeitsbereich:Verbindung UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:406 errors:0 dropped:0 overruns:0 frame:0 TX packets:180 errors:0 dropped:0 overruns:0 carrier:0 Kollisionen:0 SendewarteschlangenlÃ¤nge:100 RX bytes:31650 (30.9 KiB) TX bytes:61399 (59.9 KiB) Speicher:febe0000-fec00000 lo Link encap:Lokale Schleife inet Adresse:127.0.0.1 Maske:255.0.0.0 inet6 Adresse: ::1/128 GÃ¼ltigkeitsbereich:Maschine UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 Kollisionen:0 SendewarteschlangenlÃ¤nge:0 RX bytes:560 (560.0 b) TX bytes:560 (560.0 b) venet0 Link encap:UNSPEC Hardware Adresse 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 UP BROADCAST PUNKTZUPUNKT RUNNING NOARP MTU:1500 Metric:1 RX packets:6623 errors:0 dropped:0 overruns:0 frame:0 TX packets:1535 errors:0 dropped:0 overruns:0 carrier:0 Kollisionen:0 SendewarteschlangenlÃ¤nge:0 RX bytes:1659375 (1.5 MiB) TX bytes:136607 (133.4 KiB) but # ip r l 172.16.0.4 dev venet0 scope link 192.168.130.209 dev venet0 scope link 192.168.130.0/24 dev eth0 proto kernel scope link src 192.168.130.20…
creator: digidax
date: 2009-01-20T09:07:23-00:00