On Wed, Jan 31, 2018 at 10:46 AM, Tim <ignored_mailbox@xxxxxxxxxxxx> wrote:
Hi,
I have what's probably an odd-ball desire:
I have a PC with a 100 Mb/s motherboard ethernet interface, and a 1
Gb/s PCI card ethernet interface. And IPs are assigned from a Fedora
PC running a DHCP server which reconfigures its DNS server, on the fly.
I'd like the PC to always get assigned the same IP, and hostname,
regardless of which ethernet port the (single) ethernet cable would get
plugged in to. I'd like the addressing to be consistent, and just
work. Having the PC change addresses because the cable got plugged
into a different port breaks other things on the network.
This is the stanza for this PC in the dhcpd.conf file:
host oddbox {
# hardware ethernet 00:24:21:9A:6F:6C;
hardware ethernet C8:3A:35:DC:54:59;
fixed-address 192.168.1.12;
option host-name "oddbox";
}
It won't allow me to specify two macs, hence one being hashed out.
Is this sort of thing do-able? (And controlled from the DHCP server,
not manually on the PC in question.)
Yes, I know there'd be a world of pain if someone tried to connect both
ports at the same time. But there's only one ethernet cable, so that
can't happen. And I really don't want to physically block the slower
motherboard ethernet port, to prevent it being used accidentally.
--
[tim@localhost ~]$ uname -rsvp
Linux 4.14.14-200.fc26.x86_64 #1 SMP Fri Jan 19 13:27:06 UTC 2018 x86_64
Boilerplate: All mail to my mailbox is automatically deleted.
There is no point trying to privately email me, I only get to see
the messages posted to the mailing list.
This email brought to you by potato omelates
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@lists.fedoraproject.org
Better yet, is there a way to have DHCP reject requests from the motherboard NIC?
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx