LinuxQuestions.org
Visit the LQ Articles and Editorials section
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-14-2006, 03:10 AM   #1
saavik
Member
 
Registered: Nov 2001
Location: NRW, Germany
Distribution: SLES11 / FC20/ OES / CentOS
Posts: 600

Rep: Reputation: 32
router in DMZ is not reachable


I have a router installed in the DMZ (so different subnet!).

I can ping the ip but when i trie to add the default gw:

route add default gw 123.456.7.8
SIOCADDRT: Network is unreachable



ping 123.456.7.8
PING 123.456.7.8 (123.456.7.8) 56(84) bytes of data.
64 bytes from 123.456.7.8: icmp_seq=1 ttl=63 time=5.07 ms
64 bytes from 123.456.7.8: icmp_seq=2 ttl=63 time=0.514 ms
64 bytes from 123.456.7.8: icmp_seq=3 ttl=63 time=0.525 ms




route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
123.456.7.0 routeri 255.255.255.0 UG 0 0 0 bond0
10.0.0.0 * 255.0.0.0 U 0 0 0 bond0
loopback * 255.0.0.0 U 0 0 0 lo
 
Old 07-14-2006, 05:23 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 26,990
Blog Entries: 54

Rep: Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743
If it's in another subnet you can't make it a default (aka "first hop" if that explains it better) GW.
 
Old 07-14-2006, 05:30 AM   #3
saavik
Member
 
Registered: Nov 2001
Location: NRW, Germany
Distribution: SLES11 / FC20/ OES / CentOS
Posts: 600

Original Poster
Rep: Reputation: 32
Well ok, i (must) accept that, but is there a way to have an internet router in the DMZ ?

How can i add the route?
 
  


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
port forwarding/DMZ? router acting up, i think? nixel Linux - Networking 2 12-04-2005 11:18 PM
DMZ on the same box as network router cjewell Linux - Networking 1 09-24-2005 12:27 AM
RH 9 Firewall/Router Iptables DMZ Dammas Linux - Software 0 03-30-2004 01:02 AM
DMZ and ADSL router question mazzo Linux - Networking 1 03-03-2004 02:36 PM
Router dies after while and is not reachable McBrain Linux - Networking 2 11-01-2003 01:09 AM


All times are GMT -5. The time now is 06:09 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration