LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
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
 
LinkBack Search this Thread
Old 07-15-2003, 02:04 AM   #1
arnix
LQ Newbie
 
Registered: Jul 2003
Posts: 1

Rep: Reputation: 0
a /27 within a /24 subnet


i'm a newbie and i'm trying to figure out the routing for a /27 subnet to pass through a /24.
say:

gateway router: 192.168.101.254/24

server: 192.168.101.1/24

linux router:
eth0 (external): 192.168.101.240 /24
eth1 (internal): 192.168.101.129/27

mystation: 192.168.101.130/27

kernel ip routing table:
destination gateway genmask
192.168.101.128 * 255.255.255.224
192.168.101.0 * 255.255.255.0
127.0.0.0 * 255.0.0.0
default 192.168.101.254 0.0.0.0

from mystation, i can get a ping reply to both eth1 and eth0 but can't get a reply from the server and gateway router. is there something missing?

need advise and help. thanks
 
Old 07-16-2003, 09:16 PM   #2
olddog55
LQ Newbie
 
Registered: Jul 2003
Distribution: Debian Sarge & Woody, RedHat, tomsrtbt
Posts: 11

Rep: Reputation: 0
Can't be done.

The gateway router, the server, and the linux e0 interface are going to consider any 192.168.101.xxx traffic to be local. They'll be arping for a station, not looking for a gateway [the linux router]

As long as you are using the 255.255.255.0 mask on the 192.168.101.0 network, you're going to have this limitation. And since your gateway router is at .254, and your server is at .1, stucksville.

Use a different network prefix on your internal linux subnet.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
subnet jpostma Linux - Hardware 1 10-16-2005 02:11 PM
subnet mask kizersouzay Linux - Networking 1 08-31-2005 03:07 PM
another subnet. bruse Linux - Networking 1 07-19-2005 12:35 PM
Subnet issues jfranks214 Linux - Networking 3 02-13-2004 11:26 AM
Can IP from different subnet be configured on another subnet russell Linux - Networking 1 08-23-2002 01:47 AM


All times are GMT -5. The time now is 06:02 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
Open Source Consulting | Domain Registration