nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Default Route

This is a discussion on Default Route within the Linux software forums, part of the Linux Getting Started category; Dear All. I am using RHEL 4 . My problem is that I have two network cards on my linux ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Linux software

Linux answers from nixCraft.


Linux software General questions and discussion about Redhat/Fedora Core/Cent OS, Debian and Ubuntu Linux related to softwares should go here.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 26-04-2006, 09:52 PM
Member
User
 
Join Date: Mar 2006
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
puppen
Default Default Route

Dear All.

I am using RHEL 4 . My problem is that I have two network cards on my linux box, one card is configured for class a network and second card is configured for cllass b network.If I acees my linux server through remote location on WAN, I am not able to access unless I define manually default route on Linux Box. If I access class A net from Calss B it becomes very slow on local LAN
And one more thing, how to make it these route as permanent, I have read the previous post but it does not work here.

Any other solution .....................??????

Regards.
Puppen
__________________
someone somewhere is made for you.
LOVE is Journey not a destination.
ALL I want is EVERYTHING.
Reply With Quote
  #2 (permalink)  
Old 26-04-2006, 10:30 PM
monk's Avatar
Senior Member
User
 
Join Date: Jan 2005
Location: Tibet
OS: Debian GNU/Linux
Posts: 506
Thanks: 0
Thanked 8 Times in 6 Posts
Rep Power: 7
monk has a spectacular aura about monk has a spectacular aura about
Default

Can you set default route using command line route command?
Example:
Code:
route add -net 192.168.1.0 netmask 255.255.255.0 gw 191.161.2.254 dev eth1
Otherwise give us your network and netmask and gw name and will tell you what command you need to type...
Reply With Quote
  #3 (permalink)  
Old 26-04-2006, 11:33 PM
tom tom is offline
Contributors
User
 
Join Date: Jun 2005
Location: London, UK
Posts: 213
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 5
tom is on a distinguished road
Default

I have RED HAT Linux version 3 (RHEL) and file /etc/sysconfig/network-scripts/route-eth0 use to configure static routes:
less /etc/sysconfig/network-scripts/route-eth0
Code:
GATEWAY0=10.10.1.1 
NETMASK0=255.0.0.0 
ADDRESS0=10.0.0.1 

GATEWAY1=10.20.1.1 
NETMASK1=255.255.0.0 
ADDRESS1=192.168.1.0
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Ubuntu Set Default Runlevel /etc/inittab lacloai Linux software 8 25-09-2009 12:15 PM
Default Broadband ADSL Router password for BSNL Dataone sandeep23 Computer Networking and Internet/broadband 14 04-05-2009 10:40 AM
Default webpage anichhatre Getting started tutorials 5 15-12-2008 02:41 AM
How to stop default mail Server on Centos surmandal Linux software 2 07-08-2007 12:09 PM
Debian 4 apt-get default source list raj Linux software 1 01-05-2007 09:13 PM


All times are GMT +5.5. The time now is 05:30 PM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38