Hello,
sorry, if my question ist stupid.
I want to configure a freebsd-server, that has different nic's, bound to different networks.
For example
em0
- 10.0.1.0 / 24
- defaultrouter 10.0.1.1
- nameserver 8.8.8.8, a.a.a.a, ...
- search domain lan.home.arpa
em1
- 10.1.1.0 / 24
- defaultrouter 10.1.1.1
- nameserver b.b.b.b, c.c.c.c, ...
- search domain mngmt.home.arpa
em2
- 10.2.1.0 / 24
- defaultrouter 10.2.1.1
- search domain IoT.home.arpa
...
Is ist possible to define different / multiple networks persistent in rc.conf oder resolv.conf or otherwise?
I know, that I can define f. e, one defaultrouter in rc.conf. but what, if i need different routers for different networks, same with searchdomains and nameserver?
Thank you all.
sorry, if my question ist stupid.
I want to configure a freebsd-server, that has different nic's, bound to different networks.
For example
em0
- 10.0.1.0 / 24
- defaultrouter 10.0.1.1
- nameserver 8.8.8.8, a.a.a.a, ...
- search domain lan.home.arpa
em1
- 10.1.1.0 / 24
- defaultrouter 10.1.1.1
- nameserver b.b.b.b, c.c.c.c, ...
- search domain mngmt.home.arpa
em2
- 10.2.1.0 / 24
- defaultrouter 10.2.1.1
- search domain IoT.home.arpa
...
Is ist possible to define different / multiple networks persistent in rc.conf oder resolv.conf or otherwise?
I know, that I can define f. e, one defaultrouter in rc.conf. but what, if i need different routers for different networks, same with searchdomains and nameserver?
Thank you all.