• [gentoo-user] how to configure two net interfaces (one static and other

    From pat@xvalheru.org@21:1/5 to All on Fri Aug 27 17:00:02 2021
    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?

    Thanks

    Pat

    ----------------------------------------
    Freehosting PIPNI - http://www.pipni.cz/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Matt Connell (Gmail)@21:1/5 to pat@xvalheru.org on Fri Aug 27 18:40:01 2021
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Fri Aug 27 17:49:53 2021
    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.
    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmEpF7EACgkQseqq9sKV ZxkTyxAAo+lpp2UP88WfRDvKNLMm8sFYWW14rxSF5xqW7GrXJXss6pLDPM/kFp1C qKJ8cTd9LNMx+31PkRWYn58M80wUW/zB/Q36eseQE+td1JeggVwmo6IoChkGkmE1 q2CfVmaetRfXNy3H8ANc1/FxQxD+wQ3Gu01cQhb8gkM7ExfEtfEBRv/MI2jgmlKu Y+U72B6yadF1EGravCTZy9zlyjeQ9BCrDirbGEzdP3QG+vdGz4O7ZSEb1CoofV8e x37v6a2pI++/phticHEWP7/iprfJEb01VMB4icwFoOm9qfB63TeFzmMU2CVzQnus KJuia7dFWk3x5nCndqf7I3Y6LdHWPdgFiuO878QMNcYI5zquL+Pzsc1mrnIQPXQ1 z0jCYB+Qul9w5U5P0UWzf1PaH5NIYRbez5KKUgEEQKZK3+qUFRYCoHDK4nT80tPK 6N9mIkXo+KjfUwZevQd/DhIyCP65PfKKaH7tvLkFBVKGCSGWK5ERIC8qls9PmyQL MeIkjOL8EF1AvNfXiNNJzjChdqeAGGinThNkLN/6iy3JAEI/A5IQFmogonl0EBgg ybd2l096oyEfKZjx8/mVQhu+BpMu5xlw46bt5qZRvvQwu9AeuBuhmJLbDpfZ3JIR rPkWwJQjjjOH+4i9bmOl0NyaZHLcBxve0aQHKCQuKblFcDf1CGA=
    =iMWJ
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Matt Connell (Gmail)@21:1/5 to Michael on Fri Aug 27 19:10:01 2021
    On Fri, 2021-08-27 at 17:49 +0100, Michael wrote:
    Also have a look at:

    https://wiki.gentoo.org/wiki/Handbook:AMD64/Networking/Modular

    Thank you, this is what I meant to post. Moving too fast for my own
    good.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From pat@xvalheru.org@21:1/5 to Michael on Fri Aug 27 19:20:01 2021
    On 2021-08-27 18:49, Michael wrote:
    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.

    Thanks for help.

    Pat

    ----------------------------------------
    Freehosting PIPNI - http://www.pipni.cz/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)