I have 10.3 installed on a PC with 2 NIC's. I have 2 subnets, .123.xxxx and .124.xxx. .123.xxx is plugged into a .123.xxx switch and .124.xxx is plugged into a .124.xxx switch. I want to take one of the NIC's in this 10.3 PC and place it in the .123.xxx network (right now, they both are in .124.xxx network. So, i go into yast->network devices and try to assign the NIC i want in the .123.xxx network a .123.xxx address. Then change the default gateway/route to the .123.xxx gateway/route. Then, i make sure the other NIC stays with a .124.xxx IP and its gateway/route stays a .124.xxx gateway/route; it does not. Changing the one NIC's gateway also changed the other NIC's gateway. I noticed below the gateway/route, there is a "routing" table (expert configuration). Do i make this work in here? My question: how do i does this so both NIC's have different IP's and different gateway's? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, May 6, 2008 at 4:34 PM, Chris Arnold <carnold@electrichendrix.com> wrote:
My question: how do i does this so both NIC's have different IP's and different gateway's?
You can have as many gateways you like to different destinations, but only one default gateway. Use yast to add more routes to your routing table. Cheers -J -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 05/06/2008 07:04 PM, Chris Arnold wrote:
My question: how do i does this so both NIC's have different IP's and different gateway's?
As far as I understand routing, the gateway isn't for the NIC but for the machine. Traffic for a particular net which is directly connected to a NIC traverses that NIC. All other goes to the gateway. It doesn't make sense to have 2 "all other". Therefore, what you see is correct. If you wanted particular traffic to route via a particular NIC, that would be the job for advanced routing tables, but not the gateway. -- Joe Morris Registered Linux user 231871 running openSUSE 10.3 x86_64 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Joe Morris wrote:
On 05/06/2008 07:04 PM, Chris Arnold wrote:
My question: how do i does this so both NIC's have different IP's and different gateway's?
As far as I understand routing, the gateway isn't for the NIC but for the machine. Traffic for a particular net which is directly connected to a NIC traverses that NIC. All other goes to the gateway. It doesn't make sense to have 2 "all other". Therefore, what you see is correct. If you wanted particular traffic to route via a particular NIC, that would be the job for advanced routing tables, but not the gateway.
You can have multiple "gateways", but only one can be the default. The routing table is used to determine the various routes and anything not otherwise specified, goes to the default gateway. -- Use OpenOffice.org <http://www.openoffice.org> -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Joe Morris wrote:
On 05/06/2008 07:04 PM, Chris Arnold wrote:
My question: how do i does this so both NIC's have different IP's and different gateway's?
As far as I understand routing, the gateway isn't for the NIC but for the machine.
Each NIC can have its own gateway. The only limitation is there is a maximum of one DEFAULT gateway. The DEFAULT GATEWAY is for the machine as a whole.
Traffic for a particular net which is directly connected to a NIC traverses that NIC. All other goes to the gateway. ^ you left out the wrod "default"
It doesn't make sense to have 2 "all other". Therefore, what you see is correct. If you wanted particular traffic to route via a particular NIC, that would be the job for advanced routing tables, but not the gateway.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Chris Arnold wrote:
I have 10.3 installed on a PC with 2 NIC's. I have 2 subnets, .123.xxxx and .124.xxx. .123.xxx is plugged into a .123.xxx switch and .124.xxx is plugged into a .124.xxx switch. I want to take one of the NIC's in this 10.3 PC and place it in the .123.xxx network (right now, they both are in .124.xxx network. So, i go into yast->network devices and try to assign the NIC i want in the .123.xxx network a .123.xxx address. Then change the default gateway/route to the .123.xxx gateway/route. Then, i make sure the other NIC stays with a .124.xxx IP and its gateway/route stays a .124.xxx gateway/route; it does not. Changing the one NIC's gateway also changed the other NIC's gateway. I noticed below the gateway/route, there is a "routing" table (expert configuration). Do i make this work in here? My question: how do i does this so both NIC's have different IP's and different gateway's?
The simplest way is with YaST -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Sam wrote:
The simplest way is with YaST Yes, this is the way i am trying to do it but i do not know what goes into the routing tables. And do i change the IP on the NIC? I wish there were a help on this in yast as to what info it is looking for.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, May 6, 2008 at 10:15 AM, Chris Arnold <carnold@electrichendrix.com> wrote:
Sam wrote:
The simplest way is with YaST Yes, this is the way i am trying to do it but i do not know what goes into the routing tables.
man route man routes http://www.cpqlinux.com/routes.html You have a little reading to do. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Chris Arnold wrote:
Sam wrote:
The simplest way is with YaST Yes, this is the way i am trying to do it but i do not know what goes into the routing tables. And do i change the IP on the NIC? I wish there were a help on this in yast as to what info it is looking for.
What you're looking for is a general understanding of routing, which has nothing to do with Yast. Yast is simply a tool that follows your direction. Read up on IP routing and you should be able to figure out what to enter with Yast. -- Use OpenOffice.org <http://www.openoffice.org> -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Some kind fellow wrote:
What you're looking for is a general understanding of routing, which has nothing to do with Yast. Yast is simply a tool that follows your direction. Read up on IP routing and you should be able to figure out what to enter with Yast. Wow! *shakes head*.... I did get it working. And i want to thank you all for your instruction and help. While i don't claim to be a routing guru or even an intermediate, i do have a "general" knowledge, now, of what is going on in routing. Thanks again!
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (6)
-
Chris Arnold
-
CyberOrg
-
James Knott
-
Joe Morris
-
John Andersen
-
Sam Clemens