LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-27-2012, 03:27 AM   #1
webstyler
LQ Newbie
 
Registered: Sep 2012
Posts: 1

Rep: Reputation: Disabled
add gateway for second network card


Hi

I add new network card to a VM with different IP class

The 2 network card have 2 different vlan (setting by vmware)

the first work fine, the second not ping correctly

I think the issue is on default gateway that is on the same class of first networ card.. so may need to specify two gateway or specify for new network card a gateway that overwrite default gw..

I work on linux centos with cpanel on board

the ip assigned on new card is not pingable and not ping external throught eth1 (new)

I've try to add GATEWAY row on ifcfg-eth1 but seems not override the default

on ifcfg-eth0 there isn't gateway row, this must be on file /etc/system/network

any suggest ??

thanks
 
Old 10-08-2012, 01:36 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Moved: This thread is more suitable in Linux-Networking and has been moved accordingly to help your thread/question get the exposure it deserves.

What kind of network configuration would you like to have? What kind of networks are teh cards connected to?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to define gateway on network card kashif2131971 Linux - Networking 5 07-16-2009 09:28 AM
How to add default gateway in /etc/sysconfig/network-scripts/* zamri Linux - Networking 2 09-06-2005 10:32 AM
How to add an additonal Network Card j0217995 Debian 2 06-15-2004 02:33 PM
add network card (debian) eduac Linux - Hardware 2 09-24-2003 07:45 AM
How to add network card ? thundersnows Linux - Hardware 8 08-04-2003 10:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration