[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pppoe configuration - unable to ping outside



Hello Celejar and everyone else,
now second problem,,,,I have to create a gateway server with squid,
content filter (dansguardian) and virus filter, after installing debian
sarge things are ready, now facing problem with masquerading, as i have
to masquerade few machines. I am using shorewall iptables based
firewall. masquerading is not working, can ping my debian box but from
local to out threw my debian gateway server is not working.

I am free to use any other linux, and I want to use debian this time.

I went threw google guru, debian forums but not satisfied yet, hope for
an early response.. i don't want to give up with debian on this minor
problem but same things worked fine on rhel, suse, fedora. 

overall at the moment I am stuck to first problem over pppoe, personally
i want to use debian without giving up.

has someone found it working?? pppoe in GNU/Linux 3.1 (`sarge') after
fresh installation ??? 


regards 
anuj

On Mon, 2006-12-25 at 14:08 +0530, Anuj Singh wrote:
> hello,
> Yes my router is set as a default gw,
> output of route is
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref
> Use Iface
> xxx.xxx.xxx.xxx     *               255.255.255.255 UH    0      0
> 0 ppp0
> 192.168.1.0     *               255.255.255.0   U     0      0
> 0 eth0
> 10.1.1.0        *               255.255.255.0   U     0      0
> 0 eth1
> default         192.168.1.1     0.0.0.0         UG    0      0
> 0 eth0
> 
> 
> my plog
> Dec 25 13:49:51 localhost pppd[1586]: Couldn't increase MRU to 1500
> Dec 25 13:49:51 localhost pppd[1586]: CHAP authentication succeeded:
> Authentication success,Welcome!
> Dec 25 13:49:51 localhost pppd[1586]: peer from calling number
> 00:90:AC:25:2F:93 authorized
> Dec 25 13:49:51 localhost pppd[1586]: not replacing default route to
> eth0 [192.168.1.1]
> Dec 25 13:49:51 localhost pppd[1586]: Cannot determine ethernet
> address for proxy ARP
> Dec 25 13:49:51 localhost pppd[1586]: local  IP address
> xxx.xxx.xxx.xxx
> Dec 25 13:49:51 localhost pppd[1586]: remote IP address xxx.xxx.xxx
> Dec 25 13:49:51 localhost pppd[1586]: primary   DNS address
> xxx.xxx.xxx.xxx
> Dec 25 13:49:51 localhost pppd[1586]: secondary DNS address
> xxx.xxx.xxx.xxx
> 
> ifconfig
> 
> eth0      Link encap:Ethernet  HWaddr 00:xx:xx:xx:xx:x7  
>           inet addr:192.168.1.4  Bcast:192.168.1.255
> Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:195 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:132 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000 
>           RX bytes:21028 (20.5 KiB)  TX bytes:8527 (8.3 KiB)
>           Interrupt:11 Base address:0xd800 
> 
> eth1      Link encap:Ethernet  HWaddr 00:xx:xx:xx:xx:xx  
>           inet addr:10.1.1.3  Bcast:10.1.1.255  Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:39 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000 
>           RX bytes:2626 (2.5 KiB)  TX bytes:1206 (1.1 KiB)
>           Interrupt:10 Base address:0xe000 
> 
> 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:110 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:110 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0 
>           RX bytes:7132 (6.9 KiB)  TX bytes:7132 (6.9 KiB)
> 
> ppp0      Link encap:Point-to-Point Protocol  
>           inet addr:xxx.xxx.xxx.xxx  P-t-P:xxx.xxx.xxx.xxx
> Mask:255.255.255.255
>           UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
>           RX packets:63 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:3 
>           RX bytes:10643 (10.3 KiB)  TX bytes:54 (54.0 b)
> 
> I can ping my local machines, my router , but not outside (from my
> gateway server hence same from local to out too)
> 
> regards 
> 
> anuj
> On Mon, 2006-12-25 at 00:54 -0500, Celejar wrote: 
> > On Mon, 25 Dec 2006 10:58:27 +0530
> > Anuj Singh <anujhere@gmail.com> wrote:
> > 
> > > Hello,
> > > Greetings,
> > > This is my first mail to to users list.
> > > Recently I installed Debian GNU/Linux 3.1 (`sarge')
> > 
> > Welcome!
> > 
> > > 
> > > I have eth0 connected to my adsl router and eth1 to my local network.
> > > I configured my adsl with pppoeconf, logs shows me I am connected, and
> > > ifconfig gives me ppp0 address too.
> > > route -n gives me ip address of my router (that is correct =
> > > 192.168.1.1), my eth0 has ip 192.168.1.3 and eth1 has 10.1.1.3
> > > I can ping router/ local machines , but can not ping outside,
> > > my /etc/resolv.conf is updated and I tried given nameserver from my isp
> > > as well as automatically detected dns. 
> > 
> > Is your router set to be the default gateway? What is the exact output
> > of 'route'? Does outside ping fail for the other machines on the local
> > net or even for the box connected directly to the modem? Does ping fail
> > even for manually entered IP addresses or only when you use DNS?
> > 
> > > 
> > > Same configuration is working smoothly on Redhat/Fedora, but I am facing
> > > problems on debian. I can use redhat/fedora but so far I found debian
> > > much better (used it before), don't want to stick with redhat/fedora.
> > > 
> > > regards 
> > > anuj
> > 
> > Celejar
> > 
> > -- 
> > ssuds.sourceforge.net - Home of Ssuds and Ssudg, a Simple Sudoku Solver
> > and Generator
> > 
> > 

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: