problem gateway set on ppp0 and nat eth0

Bug #318723 reported by Vincenzo Mazzotta

This bug report was converted into a question: question #84473: problem gateway set on ppp0 and nat eth0.

2
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/interfaces:

# 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:8dff:fe94:438a/64 Scope:Link
          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
          collisions:0 txqueuelen:1000
          RX bytes:20520 (20.5 KB) TX bytes:1404 (1.4 KB)
          Interrupt:249 Base address:0xe000

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
          collisions:0 txqueuelen:0
          RX bytes:89385 (89.3 KB) TX bytes:89385 (89.3 KB)

ppp0 Link encap:Point-to-Point Protocol
          inet addr:10.100.8.195 P-t-P:10.64.64.64 Mask:255.255.255.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
          collisions:0 txqueuelen:3
          RX bytes:6294748 (6.2 MB) TX bytes:712989 (712.9 KB)

But after add in /etc/network/interfaces like primary interface ppp0 now not get automatically ip via dhcpfor eth0 interface.

Somebody can help me?

Kind Regards
Vincenzo

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 8.10
ExecutablePath: /usr/bin/gnome-nettool
NonfreeKernelModules: nvidia
Package: gnome-nettool 2.22.1-0ubuntu1
ProcEnviron:
 SHELL=/bin/bash
 PATH=.:/usr/lib/jvm/java-6-sun-1.6.0.10/bin:/usr/lib/jvm/java-6-sun-1.6.0.10/jre/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
 LANGUAGE=en_US:en
SourcePackage: gnome-nettool
Uname: Linux 2.6.27-9-server x86_64

Tags: apport-bug
Revision history for this message
Vincenzo Mazzotta (vincenzo-mazzotta-it) wrote :
description: updated
Revision history for this message
Pedro Villavicencio (pedro) wrote :

not a gnome-nettool issue.

affects: dhcp (Ubuntu) → dhcp3 (Ubuntu)
Revision history for this message
Chuck Short (zulcss) wrote :

Thank you for taking the time to report this issue and helping to make Ubuntu better. Examining the information you have given us, this does not appear to be a bug report so we are closing it and converting it to a question in the support tracker. We appreciate the difficulties you are facing, but it would make more sense to raise problems you are having in the support tracker at https://answers.launchpad.net/ubuntu if you are uncertain if they are bugs. For help on reporting bugs, see https://help.ubuntu.com/community/ReportingBugs#When%20not%20to%20file%20a%20bug.

Changed in dhcp3 (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.