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

Re: ip address on dhcp client



On Mon, 14 Jul 2014 00:31:43 +0530
rajiv chavan <rc214105@gmail.com> wrote:

> Sun, 13 Jul 2014 23:34:41 +0530
> 
> ip a output on an adsl+ (pppoe) client:
> =snip=
> 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
> state UP group default qlen 1000
>       inet 192.168.1.2/24 brd 192.168.1.255 scope global eth0
> 3: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1460 qdisc
> pfifo_fast state UNKNOWN group default qlen 3
>     link/ppp
>     inet 117.222.15.189 peer 117.222.8.1/32 scope global ppp0
> =snip=
> Can ping 127.0.0.1 and 192.168.1.1 but not 117.222.15.189 nor
> 192.168.1.2 tcpdump on eth0 detcts pppoe packets from  117.222.15.189
> to hosts except 192.168.1.1-2
> nmap reports 117.222.15.189 ip but all posrt 1-1000 filtered.
> 
> 

Hi,

Everything is on the same interface? 
I don't think Eth0 can be routing for your local network and at the
same time become ppp0 and route for a global network.
I think you'll need some kind of subinterfaces if you want to use only
one physical interface for your local network and the outside one.

Maybe try a traceroute and you'll see where the packets are going.
Also, check the routes(netstat -nr or route -ne).

You might give a try one by one to see at what point it stops working:
-try only the local network first and once it's working try to set up
your pppoe link.

hth


Reply to: