Good Afternoon Ladies & Gents
I am having some issues setting up a /30 on a single interface, some of you must be like 'what the hell that's easy' lol, well I though so too.
So, the way the ISP has told me to set up the statics on the interface is to have them use my main static which is assigned over PPPoE with mpd5 as its default gateway, I'm not doing MLPPP on this line, but I do have a /30 I need to assign to the interface after the first static is assigned auto-magically, now I have setup the routes properly, or so I think. But still none of the IPs are pinging back from a external host.
[CMD=]route add -net 206.248.xxx.120/30 206.248.xxx.1[/CMD] was the first command I did.
Then I assigned the IPs to the interface with 206.248.xxx.1 as the gateway
[CMD=]ifconfig ng0 alias 206.248.xxx.121 206.248.xxx.1[/CMD]
[CMD=]ifconfig ng0 alias 206.248.xxx.122 206.248.xxx.1[/CMD]
Now once again I have been told that the gateway for my /30 is supposed to be my main static IP but with this type of setup I'm getting confused with how the routing really works, one would figure that the /30 has a totally separate gateway then that of the main static i.e. entirely different net block
What am I doing wrong with this? do I need some PF rules or something to route the traffic properly?
I am having some issues setting up a /30 on a single interface, some of you must be like 'what the hell that's easy' lol, well I though so too.
So, the way the ISP has told me to set up the statics on the interface is to have them use my main static which is assigned over PPPoE with mpd5 as its default gateway, I'm not doing MLPPP on this line, but I do have a /30 I need to assign to the interface after the first static is assigned auto-magically, now I have setup the routes properly, or so I think. But still none of the IPs are pinging back from a external host.
[CMD=]route add -net 206.248.xxx.120/30 206.248.xxx.1[/CMD] was the first command I did.
Then I assigned the IPs to the interface with 206.248.xxx.1 as the gateway
[CMD=]ifconfig ng0 alias 206.248.xxx.121 206.248.xxx.1[/CMD]
[CMD=]ifconfig ng0 alias 206.248.xxx.122 206.248.xxx.1[/CMD]
Now once again I have been told that the gateway for my /30 is supposed to be my main static IP but with this type of setup I'm getting confused with how the routing really works, one would figure that the /30 has a totally separate gateway then that of the main static i.e. entirely different net block
What am I doing wrong with this? do I need some PF rules or something to route the traffic properly?