-
nikolamCan I somehow force SmartOS config in global zone to actually use the gateway I gave it to use and not using the gateway it got from DHCP?.. Problem is that DHCP gives multiple gateways and one gateway is faster and the other one is slower and SmartOS global zone then uses one that another, not using firstly one THEN another. (And does not takes into account gateway I have set in config , if DHCP is used)
-
jperkinis your /usbkey/config correct? it should do. maybe paste your admin_* entries somewhere?
-
nikolamjperkin, I am doing traceroute -n and can confirm it is still doing the same thing, taking different gateway, one it got from DHCP, instead of prescribed one , also I have set both admin_gateway= and headnode_default_gateway= is set. Let em pastebin config: 0bin.net/paste/i8AUbUDF#pwnUx-TVP/qclwkuT84XDsiVRNhKwML4F/Q6pSaDQTL
-
nikolamThat is VM, I also experience it at install on hardware, from global zone
-
nikolamDHCP server (Mikrotik) is giving first 10.42.0.5 as the main gateway (itself) and th 10.42.0.1 (secondary gateway, without DHCP)
-
nikolamSo it uses that gateways in round robin DHCP, even gateway from is specified.
-
jperkinoh ok so you are mixing dhcp and non-dhcp, yeh that will probably confuse things
-
nikolamIf I leave it to dhcp only, behaves the same..
-
tsoomeare both gateways actually legal?
-
tsoomethat is, I suppose second one is meant for backup?
-
jperkinnetwork bringup is just a shell script, if you want to have a go at producing a patch for this it's likely something we'd be interested in
-
nikolamthey work. First one is gatwaying to the fiber, second is a gateway to WLAN . Both are on LAN.
-
nikolamyup. For backup and to get on contact with subsequent LANs on path to internet
-
nikolamjperkin, I see.
-
nikolamI had some answers before regarding DHCP-only , that it is illumso bug not recognizing situation when there are multiple gateways, to use firs otn first, undefine behavior. But yes, SmartOS as a distro can define it. Plus recognize mixed use. Thanks.
-
nikolamSo it is encouraging , thank you.
-
nikolamI might spin up a build SmartOS zone, after all :P