LinuxQuestions.org
Visit Jeremy's Blog.
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 10-28-2005, 11:56 AM   #1
Ken_QTP
LQ Newbie
 
Registered: Oct 2005
Posts: 6

Rep: Reputation: 0
One way routing Problem


My redhat linux Enterprise AS3 server is haveing an odd problem i had to switch the server to a diffrent ip address on a completely diffrent subnet. The problem that i am haveing is that after switching the ip address my server no longer had access to the internet but the internet still has access to my server i have checked and rechecked my configs but to no avail i can get webpages and email through the box but i cannot access webpages or send email while on the box it won't even ping the gateway router but the gateway router can ping it. i am pulling my hair out on this one.
 
Old 10-28-2005, 02:37 PM   #2
bdogg
Member
 
Registered: Sep 2004
Location: Salt Lake City, UT
Distribution: Debian Sarge
Posts: 93

Rep: Reputation: 15
open a bash console as root and type:

route

When your box is connected in the way that it doesn't see the gateway. When you type that command, it may hang, note the part that it hangs on, and then paste the output into a browser here and let us know where it was going slow. It should go really fast (like an ls command)
 
Old 10-28-2005, 03:05 PM   #3
Ken_QTP
LQ Newbie
 
Registered: Oct 2005
Posts: 6

Original Poster
Rep: Reputation: 0
[root@cowboy heathk]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
208.51.196.96 * 255.255.255.224 U 0 0 0 eth2
192.168.102.0 vpn1.qtpcorp 255.255.255.0 UG 0 0 0 bond0
192.168.127.0 vpn1.qtpcorp 255.255.255.0 UG 0 0 0 bond0
192.168.10.0 * 255.255.255.0 U 0 0 0 bond0
128.100.0.0 qtprtr1.qtpcorp 255.255.0.0 UG 0 0 0 bond0
128.101.0.0 qtprtr1.qtpcorp 255.255.0.0 UG 0 0 0 bond0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth2
192.168.0.0 qtprtr1.qtpcorp 255.255.0.0 UG 0 0 0 bond0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default qtpinternet1.qt 0.0.0.0 UG 0 0 0 eth2
[root@cowboy heathk]#

it doesn't hang it ran as fast as a ls command.
here is ifconfig just in case you curious:

bond0 Link encap:Ethernet HWaddr 00:30:48:29:83:32
inet addr:192.168.10.2 Bcast:192.168.10.255 Mask:255.255.255.0
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:27185727 errors:0 dropped:0 overruns:0 frame:0
TX packets:37292211 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3207802949 (3059.1 Mb) TX bytes:1661485017 (1584.5 Mb)

eth0 Link encap:Ethernet HWaddr 00:30:48:29:83:32
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:13553212 errors:0 dropped:0 overruns:0 frame:0
TX packets:18646106 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1604253416 (1529.9 Mb) TX bytes:2976836768 (2838.9 Mb)
Base address:0x3400 Memory:f4200000-f4220000

eth1 Link encap:Ethernet HWaddr 00:30:48:29:83:32
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:13632516 errors:0 dropped:0 overruns:0 frame:0
TX packets:18646106 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1603549643 (1529.2 Mb) TX bytes:2979615703 (2841.5 Mb)
Base address:0x3440 Memory:f4220000-f4240000

eth2 Link encap:Ethernet HWaddr 00:04:5A:42:9D:51
inet addr:208.51.196.100 Bcast:208.51.196.127 Mask:255.255.255.224
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:363137 errors:0 dropped:0 overruns:0 frame:0
TX packets:477645 errors:242 dropped:0 overruns:0 carrier:242
collisions:0 txqueuelen:1000
RX bytes:60389987 (57.5 Mb) TX bytes:257617765 (245.6 Mb)
Interrupt:48 Base address:0x8000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:196854 errors:0 dropped:0 overruns:0 frame:0
TX packets:196854 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:24226491 (23.1 Mb) TX bytes:24226491 (23.1 Mb)
 
Old 10-28-2005, 03:10 PM   #4
Ken_QTP
LQ Newbie
 
Registered: Oct 2005
Posts: 6

Original Poster
Rep: Reputation: 0
The Bond0 is bonding done between eth0 and eth1

eth2 is the internet side nic and the cause of all my headaches.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Routing problem Infernal211283 Linux - Networking 3 02-28-2005 02:59 AM
Serious problem of routing exalik Linux - Networking 1 05-03-2003 06:21 PM
Help With Routing Problem LAR12345 Linux - Networking 6 02-04-2003 02:40 PM
routing problem manthram Linux - Networking 6 04-01-2002 07:42 PM
Routing Problem mkhan Linux - Networking 1 07-01-2001 04:09 AM

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

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