LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 07-05-2006, 10:55 AM   #1
bamsesbilledbog
LQ Newbie
 
Registered: Apr 2005
Posts: 20

Rep: Reputation: 0
How do I change the gateway?


I have a laptop with two netcards. I am currently trying to change my routers firmware, so I have a cable-connection to it via eth0. But I have a wireless connection via eth1. I would like to work on a telnet connection i one terminal window (via eth0) and at the same time checking the documentation on the web via the wireless connection. This should be pretty easy, right?
 
Old 07-05-2006, 12:59 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you would just use the route command to send the single address you want to connect to via the gateway on the other network. e.g. "route add -host 1.2.3.4 gw 6.7.8.9" to tell the system that remote host 1.2.3.4 lives past the 6.7.8.9 router.
 
  


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 do I change the default gateway? tbruer1138 Linux - Networking 3 03-10-2005 08:21 PM
Remotely change gateway alantone Linux - Networking 5 01-20-2005 04:53 PM
Change defualt gateway permanently mrpc_cambodia Red Hat 0 07-13-2004 11:01 PM
Cannot change default gateway parr Linux - Networking 22 07-31-2003 06:13 PM
want to change default gateway juanb Linux - General 1 03-12-2003 10:28 AM

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

All times are GMT -5. The time now is 11:14 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