On 31/03/2015 03:40, Adam Thompson wrote:
> Sadly, I know several xDSL providers who offer a default gateway not in
> the client's subnet. (LOL: my phone auto-corrected "subnet" to
> "fuckety". No kidding.)
> Linux and Windows and MacOS can deal with this level of brain-deadness,
> *BSD cannot.

Not quite true, for a point to point interface FreeBSD will accept the
-interface option for a route (route out of the interface, rather than
to an IP) not uncommon as a way to economise on IPs among ISPs.

[root@vm ~]# route add 192.160.34.0/24 -interface gif0
add net 192.160.34.0: gateway gif0
[root@vm ~]# route get 192.160.34.0
   route to: 192.160.34.0
destination: 192.160.34.0
       mask: 255.255.255.0
        fib: 0
  interface: gif0
      flags: <UP,DONE,STATIC>
 recvpipe  sendpipe  ssthresh  rtt,msec    mtu        weight    expire
       0         0         0         0      1280         1         0
[root@vm ~]#


Not suggesting its particularly sensible just thats its doable.

Vince


> However, the good news is that if your network is so broken that you're
> trying to route out an interface with a /32, changing that to a /31 is
> unlikely to break anything more than it's already broken.
> -Adam
> 
> On March 30, 2015 1:17:55 PM CDT, Walter Parker <walt...@gmail.com> wrote:
> 
>     A /32 net mask is not used for used for regular routing interfaces.
>     It has a specialized use, usually used for virtual interfaces. On a
>     Cisco router, it would be used for a loopback interface. It is
>     sometimes used as the subnet mask for an IP alias address on host
>     systems (where all routing is done using the primary IP address).
> 
>     If the WAN interface exists on a network block with another IP
>     address, what is the subnet of that interface? If it doesn't what
>     does it matter what the subnet is, as a subnet mask is really only
>     relevant on an actual network.
> 
> 
>     Walter
> 
>     On Sat, Mar 28, 2015 at 8:42 AM, day knight <back2ga...@gmail.com
>     <mailto:back2ga...@gmail.com>> wrote:
> 
>         Hello All:
> 
>         I see the configuration script doesn't allow you to pick /32
>         address when configuring an interface as my default gateway is
>         not in the same subnet. I have limited IPs and run pfsense from
>         vmware. How can i override and assign /32 ip address to wan
>         interface. 
> 
>         I have done this in other linux and windows distros but since
>         pfsense is customised kernel and i don't want to break any
>         functionality, how would I be able to do this. Can I manually
>         assign/configure em0 instead of suing the utility without
>         causing any issues?
> 
>         thanks
> 
>         _______________________________________________
>         pfSense mailing list
>         https://lists.pfsense.org/mailman/listinfo/list
>         Support the project with Gold! https://pfsense.org/gold
> 
> 
> 
> 
>     -- 
>     The greatest dangers to liberty lurk in insidious encroachment by
>     men of zeal, well-meaning but without understanding.   -- Justice
>     Louis D. Brandeis
> 
>     ------------------------------------------------------------------------
> 
>     pfSense mailing list
>     https://lists.pfsense.org/mailman/listinfo/list
>     Support the project with Gold! https://pfsense.org/gold
> 
> 
> -- 
> Sent from my Android device with K-9 Mail. Please excuse my brevity.
> 
> 
> _______________________________________________
> pfSense mailing list
> https://lists.pfsense.org/mailman/listinfo/list
> Support the project with Gold! https://pfsense.org/gold
> 
_______________________________________________
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold

Reply via email to