On Friday, 27 August 2021 17:39:27 BST Matt Connell (Gmail) wrote:
On Fri, 2021-08-27 at 16:52 +0200, pat@xvalheru.org wrote:
Hello,
Installed Gentoo into VirtualBox and I want to have two network
interfaces (on different networks with IP ranges) one with static IP and >> > another with IP retrieved by DHCP. Currenlty, I do have the DHCP, but
failing to setup additional static IP. Please, could someone point me to >> > what to do?
Here's where I would start:
https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Networking
The handbook is good for more than just the installation process, I've
learned over the years.
Also have a look at:
https://wiki.gentoo.org/wiki/Handbook:AMD64/Networking/Modular
which explains how to configure your /etc/conf.d/net file. However,
most
helpful is the well commented netifrc example file itself:
/usr/share/doc/netifrc-0.7.3/net.example.bz2
In there you can see how to configure with a static IP or dhcp each
interface
in turn. Copy that to your /etc/conf.d/net and edit it as you see fit.
Ask
if you get stuck on anything specific.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 35:57:14 |
Calls: | 6,648 |
Calls today: | 3 |
Files: | 12,193 |
Messages: | 5,329,026 |