Centos 6.8 Multiple 4 Network adapter use in same time on one server from DHCP static ip's

tiaragaliano

Prominent
Feb 18, 2017
4
0
520
Hello all,

I want to config my 4 lan card to work in same time. My internet provaider get me real IP from DHCP to LAN MAC address. Now only one of them work. How to config to work all in same time. My server run on Centos 6.8 fresh instalation . I dont make any changes, network is set to automatic mode. All of card work but not in same time.

Please help. I give you some beers to you Paypal ... an chips :).
 
It is not clear what you want, and what you have
- Your ISP gave you one IP address. You can either connect it directly to one of the NICs on your Centos, or to a router
- Other interfaces must have IP addresses from somewhere, either from a router, or static IP config.

What you need four NICs for?
 
I have server with 4 NIC with 4 IP - one for any MAC address. I want to use in same time all NIC. I want to use in same time all my 4 IP. I want to set one ip to one of my site , second to other site.... For this need to work all NIC in same time. I dont have router ... only one simple switch. Cable from internet provaider to switch , and 4 cables from switch to my 4 NIC.

... i only need to use my 4 ip, but i get them to mac address... this is reason for 4 NIC
 
yes , i have 4 IP but same IP get to MAC address.
I set mac address and get one IP for this MAC address every time in DHCP Automatic mode in NIC.

... in linux im very bad...

i need to use my 4 IP, but i dont know how in this case : DHCP get to mac address... i have 4 NIC but if dont need i use only one
 
You don't need four NICs if all go to single ISP. You can have many IP addresses configured to a single NIC.

Last but not least - with your (very) limited Linux knowledge, having a Linux server open to the Internet is a recipe for disaster. It will be turned into a bot in no time.