Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi,
In my red hat Linux machine there was a Lan card using eth0. IP is asign to that network card and it is functioning properly. I add another ethernet card in my linux machineit was detacted and when i use the command
Quote:
[root@localhost root] # ifconfig -a
it show me both eth0 and eth1 lan cards.I can see Ip address in my eth1 ethernet card but When I enter into
Code:
[root@localhost root] # cd /etc/sysconfig/network-scripts
and i use ls command it only show me the file ifcfg-eth1 and with
[
Code:
root@localhost root] # cat ifcfg-eth1
I can see the IP address
Please guide me that how can I configure my second ethernet card which is eth0.There is no file of eth0 to add my IP into it!
(for one card the mtu is 1500, an extra (second) card will require 8 bits of that mtu, Releaves blockages) I set mtu for eth0 and eth1 to 1492, my experience.
Code:
ifup eth0
Hope this helps, Cheers Glenn
Last edited by GlennsPref; 06-22-2010 at 05:57 AM.
thanks for the reply. well actually i have two different 10.1.1.10 and 192.168.1.10 both are private address and I want to bound these IP to eth0 and eth1.
when i use
Code:
#cat /etc/sysconfig/network-scripts/ifcfg-eth1
it show me the Ip address but when I use
Code:
#cat /etc/sysconfig/network-scripts/ifcfg-eth0
cat: ifcfg-eth0:No such file or directory
it show this message.
I can see " ifcgh-eth1 " file in network-scripts but not " ifcgh-eth1 "
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.