Hi again,
so my shiny new fiber has been installed yesterday and currently I can
ping the gateway IP address but not much more.
It was interesting as they gave me this whole subnet and told me I get a
gateway address. What they should have said to eliminate my confusion
was that there is a gateway address within the subnet that they have to
provision on their end.... that would have stopped me from trying to
provision the vlan that I'm using with an IP address used by them :-S uh
- the problem here was wording and terminology used that threw me off.
It seems to happen too much currently.... either it's my medical
condition or perhaps they could just create a page on their web portal
to show with a diagram the general setup uh :-(
Now here again I'm confusing like hell and it's frustrating :-(
On my WAN vlan for what I am going to call ISP-B, as ISP-A is existing
for a long time. What I'm trying to do right now is set this as a
default gateway for a particular subnet. As I have already got many
mappings with ISP-A, I don't want to break those just yet and migrate
them across then have them not work. I tried searching around for it and
found a similar yet I think different situation on the mailing lists:
https://misc.openbsd.narkive.com/lCGUlP2Q/two-default-route
I think the above was more to do with using 2x default routes in a
multipath setup rather then simply trying to get one particular subnet
to use another ISP specifically.
Currently I have provisioned the vlan like so and created these routes
on the interface:
inet A.A.A.2 255.255.255.240 A.A.A.15 vlan VLAN_ID vlandev trunk0
description "G-NET VLAN"
dest 0.0.0.1
!/sbin/route add -mpath A.A.A.0/28 A.A.A.1
!/sbin/route add -mpath x.x.x.1/24 A.A.A.1
Note... that I'm calling my ISP-B subnet: A.A.A.A and my local subnet:
x.x.x.x
Unfortunately, the above "route add" mappings don't seem to work.
Adding this route map does allow me to ping the ISP-B gateway address of
A.A.A.1:
route add x.x.x.6 A.A.A.1
Do I actually need the 'gateway of last resort' set for this internal
subnet and if so where do I provision it? If I provision it system wide
then everything will try to go over this way which is not what I want
yet....
I'm pretty sure that what I've hit is a routing problem and not much
more, it's just a matter of trying to sort out the confusion about
provisioning the system correctly.
Also one last note: I'm not using the /etc/mygate at all.... it was my
understanding that when building a router you didn't need it and
certainly for now I have never needed it with the VSDL2 link from ISP-A.
In the meantime I'm going to try reading the man pages again to see if I
can figure anything out ;-)
Many thanks.
Kaya