Solved PPPOE WAN connections have same CGNAT gateways | PF route-to not possible

Hi,
I have 2 PPPOE WAN connection with same ISP and When the connections are established the gateways become identical due to CGNAT.
As a result PF route-to round robin load balancing rule does not works because of the identical gateways.Thanks in advance

Code:
pppoe_igb0: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu 1492
    inet E.F.G.H --> A.B.C.D netmask 0xffffffff
    inet6 fe80::e63a:6eff:fe49:cc4e%pppoe_igb0 prefixlen 64 scopeid 0xa
    nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
pppoe_igb1: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu 1492
    inet J.K.L.M.N --> A.B.C.D netmask 0xffffffff
    inet6 fe80::e63a:6eff:fe49:cc4e%pppoe_igb1 prefixlen 64 scopeid 0xb
    nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
 
ask isp if they support multi link ppp
also iirc you can change his_addr with ifconfig and still works
Hi , there is no chance with isp they has not mlpp support
I am confused with iirc and his_addr . How can i change the gw IP address without VDSL Router NAT or care there any PF route-to option to overcome this problem?
 
Code:
#ifconfig ng0
ng0: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu 1492
    inet 86.xx.xx.x8 --> 10.0.0.1 netmask 0xffffffff
    nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
[18:40:07] [ns!root]titus #ifconfig ng0 86.xx.xx.x8 10.0.0.2
[18:40:40] [ns!root]titus #ping yahoo.com
ping: cannot resolve yahoo.com: Host name lookup failure
[18:40:44] [ns!root]titus #route get default
route: route has not been found
[18:40:51] [ns!root]titus #route add default 10.0.0.2
add net default: gateway 10.0.0.2
[18:41:01] [ns!root]titus #ping yahoo.com
PING yahoo.com (98.137.11.164): 56 data bytes
64 bytes from 98.137.11.164: icmp_seq=0 ttl=49 time=160.643 ms
64 bytes from 98.137.11.164: icmp_seq=1 ttl=50 time=162.225 ms
^C
--- yahoo.com ping statistics ---
2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 160.643/161.434/162.225/0.791 ms
like this
put something in the iface-up script for ppp(8) or mpd5 whichever you use
 
Back
Top