problem gateway set on ppp0 and nat eth0
This bug report was converted into a question: question #84473: problem gateway set on ppp0 and nat eth0.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dhcp3 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: gnome-nettool
I have configuration with follow iptables
iptables --flush - Flush all the rules in filter and nat tables
iptables --table nat --flush
iptables --delete-chain - Delete all chains that are not in default filter and nat table
iptables --table nat --delete-chain
# Set up IP FORWARDing and Masquerading
iptables --table nat --append POSTROUTING --out-interface ppp0 -j MASQUERADE
iptables --append FORWARD --in-interface eth0 -j ACCEPT - Assuming one NIC to local LAN
And follow /etc/network/
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto ppp0
iface ppp0 inet wvdial
#The secondary network interface
auto eth0
iface eth0 inet dhcp
#The thirdy network interface
auto eth1
iface eth1 inet dhcp
My ifconfig is :
eth0 Link encap:Ethernet HWaddr 00:50:8d:94:43:8a
inet6 addr: fe80::250:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:342 errors:0 dropped:0 overruns:0 frame:0
TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:20520 (20.5 KB) TX bytes:1404 (1.4 KB)
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:1758 errors:0 dropped:0 overruns:0 frame:0
TX packets:1758 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:89385 (89.3 KB) TX bytes:89385 (89.3 KB)
ppp0 Link encap:Point-
inet addr:10.100.8.195 P-t-P:10.64.64.64 Mask:255.
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:5845 errors:43 dropped:0 overruns:0 frame:0
TX packets:6110 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:6294748 (6.2 MB) TX bytes:712989 (712.9 KB)
But after add in /etc/network/
Somebody can help me?
Kind Regards
Vincenzo
ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 8.10
ExecutablePath: /usr/bin/
NonfreeKernelMo
Package: gnome-nettool 2.22.1-0ubuntu1
ProcEnviron:
SHELL=/bin/bash
PATH=.
LANG=en_US.UTF-8
LANGUAGE=en_US:en
SourcePackage: gnome-nettool
Uname: Linux 2.6.27-9-server x86_64
affects: | dhcp (Ubuntu) → dhcp3 (Ubuntu) |
not a gnome-nettool issue.