Options

How to install and config network with 2 NIC?

amiableboyamiableboy Member Posts: 1 ■□□□□□□□□□
I can't config 2 NIC in Linux 8.0. Linux recognize them, active them. But I ca'n t use them. Help me! More detail ! thank much!

Comments

  • Options
    XCommandXCommand Member Posts: 63 ■■□□□□□□□□
    # ifconfig eth0 ip_address
    # ifconfig eth1 ip_address

    Write your ip address instead of a "ip_address"
  • Options
    xetrevxetrev Member Posts: 59 ■■□□□□□□□□
    and if you want to configure multiple ips for one nic, lets say you are on a hub/switch and want to assign a nic a public ip and a natted do
    ifconfig eth0 ip_address
    ifconfig eth0:1 ip_address

    vice versa for eth1
  • Options
    rossonieri#1rossonieri#1 Member Posts: 799 ■■■□□□□□□□
    dont forget to do these :
    ifconfig eth0 up -> to bring the interface up
    ifconfig eth0 down -> to bring it down
    the More I know, that is more and More I dont know.
Sign In or Register to comment.