Static IP

Discussion in 'Linux Networking' started by Maverick1, May 12, 2013.

  1. Maverick1

    Maverick1 New Member

    Messages:
    24
    Likes Received:
    5
    Trophy Points:
    3
    How to allocate 2 static IPs to 2 different NICs in one PC?

  2. eyal_tst

    eyal_tst New Member

    Messages:
    15
    Likes Received:
    3
    Trophy Points:
    3
    ifconfig eth0 a.a.a.a netmask x.x.x.x up
    ifconfig eth1 b.b.b.b netmask y.y.y.y up

    To actually save it, it depends on your distribution.

Share This Page