Sponsored Content
Full Discussion: Dual Ethernet in CentOS
Top Forums UNIX for Advanced & Expert Users Dual Ethernet in CentOS Post 302539196 by bitlord on Friday 15th of July 2011 03:50:10 PM
Old 07-15-2011
Ok is this a project your doing at home or at work?

What is the default gateway/router?

Also after you make changes are you restating the network service?
Code:
service network restart

I would try to get the primary network working 1st. I guess this would be the DHCP/Internet access one. Which ever network that the router that controls the Internet access. Set the NIC using the GUI tool at system --> Admin --> Network. in there pic the NIC and input the info like router/gatway, DHCP. then use the command above to restart the network.
After that the network interface should work and you should be able to surf the web.
Then set the second interface. Add info router/gatway, no-DHCP. Then you have one more set edit the /etc/hosts file.

Lets say your host name is server1 that name should be set in DHCP to that name. If you don't know the host name type:
Code:
hostname

for the 2nd interfase add this line to your host file. For example:
Code:
10.40.8.21 sever1-2

This should do it. If you need more help let me know.
 

6 More Discussions You Might Find Interesting

1. Windows & DOS: Issues & Discussions

Dual boot XP and Centos 5.x using the NTLDR bootloader

How can one dual boot Windows XP sp2 and Centos 5.x using the NTLDR bootloader? I wanted to install CentOS onto a spare partition on a machine with Windows XP already installed, leaving the MBR as it was and using the NTLDR bootloader. (2 Replies)
Discussion started by: proactiveaditya
2 Replies

2. SCO

Need help for Dual Ethernet on SCO UNIX

Mobo contains Dual Gigabit Ethernet Controller. One Eth is on Bus 2, Device 0 Second on Bus 5, Device 2 The one that is on Bus 2 works, and it can be pinged, bu otherone on bus 5, doesn't work at all. Can anyone help me in setting both cards to work? P.S. Drivers are from Marvell Yukon... (2 Replies)
Discussion started by: PNemesis
2 Replies

3. UNIX for Dummies Questions & Answers

installing centos dual boot with ubuntu

I have installed ubuntu desktop on my hard drive and I gave it all the hard drive. Now I want to repatriate the hard disk and give half of it to anther ext4. How do I do that? Can I do it fron with in the ubuntu? Second when I install the centos, how can I make to recognize the ubuntu and... (0 Replies)
Discussion started by: programAngel
0 Replies

4. AIX

vio server ethernet to vio client ethernet(concepts confusing)

Hi In the vio server when I do # lsattr -El hdisk*, I get a PVID. The same PVID is also seen when I put the lspv command on the vio client partition. This way Im able to confirm the lun using the PVID. Similarly how does the vio client partition gets the virtual ethernet scsi client adapter... (1 Reply)
Discussion started by: newtoaixos
1 Replies

5. Red Hat

How to Upgrade Centos 5.7 using Centos 5.8 ISO image on Vmware workstation

Dear Linux Experts, On my windows 7 desktop with the help of Vmware workstation (Version 7.1), created virtual machine and installed Centos 5.7 successfully using ISO image. Query : Is this possible to upgrade the Centos 5.7 using Centos 5.8 ISO image to Centos version 5.8?.. if yes kindly... (2 Replies)
Discussion started by: Ananthcn
2 Replies

6. Hardware

Fedora 16 dual monitor - dual head - automatic monitor shutdown

Hi, I am experiencing troubles with dual monitors in fedora 16. During boot time both monitors are working, but when system starts one monitor automatically shut down. It happend out of the blue. Some time before when I updated system this happend but then I booted older kernel release and... (0 Replies)
Discussion started by: wakatana
0 Replies
EPAIR(4)						   BSD Kernel Interfaces Manual 						  EPAIR(4)

NAME
epair -- A pair of virtual back-to-back connected Ethernet interfaces. SYNOPSIS
To compile this driver into the kernel, place the following line in your kernel configuration file: device epair Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5): if_epair_load="YES" DESCRIPTION
The epair is a pair of Ethernet-like software interfaces, which are connected back-to-back with a virtual cross-over cable. Each epair interface pair is created at runtime using interface cloning. This is most easily done with the ifconfig(8) create command or using the cloned_interfaces variable in rc.conf(5). While for cloning you only give either epair or epair<n> the epair pair will be named like epair<n>[ab]. This means the names of the first epair interfaces will be epair0a and epair0b. Like any other Ethernet interface, an epair needs to have a network address. Each epair will be assigned a locally administered address by default, that is only guaranteed to be unique within one network stack. To change the default addresses one may use the SIOCSIFADDR ioctl(2) or ifconfig(8) utility. The basic intend is to provide connectivity between two virtual network stack instances. When connected to a if_bridge(4) one end of the interface pair can also be part of another (virtual) LAN. As with any other Ethernet interface one can configure vlan(4) support on top of it. SEE ALSO
ioctl(2), altq(4), bpf(4), if_bridge(4), vlan(4), loader.conf(5,) rc.conf(5), ifconfig(8) HISTORY
The epair interface first appeared in FreeBSD 8.0. AUTHORS
The epair interface was written by Bjoern A. Zeeb, CK Software GmbH, under sponsorship from the FreeBSD Foundation. BSD
July 26, 2009 BSD
All times are GMT -4. The time now is 01:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy