On Friday, 27 August 2021 17:39:27 BST Matt Connell (Gmail) wrote: > On Fri, 2021-08-27 at 16:52 +0200, [email protected] 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.
signature.asc
Description: This is a digitally signed message part.

