[CentOS] How to have two interfaces with dhcp using networkd but taking the dns/ntp stuff from only one
Mauricio Tavares
raubvogel at gmail.comFri Jul 11 08:41:55 UTC 2014
- Previous message: [CentOS] CentOS 7 Anaconda GUI resolution
- Next message: [CentOS] How to have two interfaces with dhcp using networkd but taking the dns/ntp stuff from only one
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Ok, we can take both but needs to be in a specific order. So, we have two ethernet interfaces, A and B. And both are defined in /etc/systemd/network/ to use dhcp. How to guarantee that the crap provided by dhcp to A (dns, gateway, ntp) is the default? To use an example, /etc/resolv.conf should end up like nameserver IP.for.A.DNS nameserver IP.for.B.DNS domain A.domain.com Now, this must be done using only systemd stuff
- Previous message: [CentOS] CentOS 7 Anaconda GUI resolution
- Next message: [CentOS] How to have two interfaces with dhcp using networkd but taking the dns/ntp stuff from only one
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list