Community discussions

MikroTik App
 
norenberg
newbie
Topic Author
Posts: 49
Joined: Mon Nov 23, 2009 2:26 am

Urgent, mission impossible, help!

Thu Mar 31, 2011 8:40 am

Ok, tried everything I could. I don't know how to work this around.
pppoeout connection to the DSL modem gives me the IP address:
219.89.126.xxx
default gateway route auto assigned: 222.155.64.1 - which turns to be unreachable

I can't ping nor access from outside world. However if I make a PPPoE connection on windows, it just works fine with the same IP addresses.

Apparently it's a linux issue with the gateway being on a different subnet. How can I work this around?
Please help, I'm trying this for about a month now with no luck.
 
cieplik206
Trainer
Trainer
Posts: 290
Joined: Sun Jul 01, 2007 12:25 am
Contact:

Re: Urgent, mission impossible, help!

Thu Mar 31, 2011 9:38 am

Gate way it not on diffrent subnet. Have in mind it is PPP which is completly classless so there are no subnets.

and this address is unreachable from Mikrotik box or from machine behind it ?
 
norenberg
newbie
Topic Author
Posts: 49
Joined: Mon Nov 23, 2009 2:26 am

Re: Urgent, mission impossible, help!

Thu Mar 31, 2011 11:14 am

Gate way it not on diffrent subnet. Have in mind it is PPP which is completly classless so there are no subnets.

and this address is unreachable from Mikrotik box or from machine behind it ?
thank you for the reply.

the default route for PPPoE shows as unreachable at winbox routing table:

Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 A S 0.0.0.0/0 10.0.0.2 5
1 A S 0.0.0.0/0 192.168.3.1 5
2 A S 0.0.0.0/0 202.174.163.254 1
3 DS 0.0.0.0/0 222.155.64.1 2 this shows as unreachable at winbox
4 S 0.0.0.0/0 10.0.0.2 5
5 S 0.0.0.0/0 192.168.3.1 10

and public ip address 219.89.126.xxx created by PPP connection is unreacheable from a remote machine on the internet. (can't ping).
However when I set the modem to be the PPPoE or windows, I can ping from external internet.

PS: Tried to untick "Add default route" on Dial Out with no luck
 
troy
Member
Member
Posts: 320
Joined: Thu Jun 30, 2005 6:47 pm

Re: Urgent, mission impossible, help!

Thu Mar 31, 2011 4:28 pm

Long time since I've mucked around with PPP, but since PPP is a Point-to-Point Protocol, it doesn't actually require IP addresses on either end of the connection. Since the route provided by the PPP server isn't on the same subnet as the IP provided, MT says it's unreachable. So, ignore that route and do one for yourself:

/ip route add dst-address=0.0.0.0/0 gateway=pppoe1

If MT has done their job right (and I think they have), your connection should be up and running without a problem.

P.S. I hate routing to interfaces... it's such an ugly way to do things, but sometimes it's a necessary evil.

Who is online

Users browsing this forum: No registered users and 96 guests