routing between different subnets on same if.
A message that is not in the archive (sent off-list or not yet received): [email protected]
did you install routed on the linux machine ?
Quoted 13 lines · Paul Jakma
Quoted 4 lines · On Sat, 27 Jan 2001 [email protected] wrote:
Hi Paul,
I just think you might look for aliasing on your linux box.
i have the aliasing, the aliased machine can ping IP's on both subnets. The machine is supposed to be a router though and clients on both subnets are setup to use it as their default router.. but it doesn't route... it notices that both IP's are on the same link and so just sends ICMP redirects. which doesn't help. :(
Quoted 6 lines
i need linux to completely route between 2 IP's even though they are on the same link.
regards,
--paulj
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Quoted 1 line · On Sat, 27 Jan 2001 [email protected] wrote:
did you install routed on the linux machine ?
no i have my routes statically set, but that wouldn't make a difference. Routed just adds/deletes entries from the kernel table as neccessary and lets the kernel do the forwarding as neccessary. so it'd make no difference.
regards,
Signature · 11 lines
Paul Jakma [email protected] [email protected] PGP5 key: http://www.clubi.ie/jakma/publickey.txt ------------------------------------------- Fortune: The greatest productive force is human selfishness. -- Robert Heinlein - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] Please read the FAQ at http://www.tux.org/lkml/
In article <[email protected]>,
Quoted 8 lines · <[email protected]> wrote:
Quoted 6 lines · Paul Jakma
Quoted 3 lines · On Sat, 27 Jan 2001 [email protected] wrote:
Hi Paul,
I just think you might look for aliasing on your linux box.
Quoted 8 lines
Quoted 8 lines
i have the aliasing, the aliased machine can ping IP's on both subnets. The machine is supposed to be a router though and clients on both subnets are setup to use it as their default router.. but it doesn't route... it notices that both IP's are on the same link and so just sends ICMP redirects. which doesn't help. :(
i need linux to completely route between 2 IP's even though they are on the same link.
Did you enable forwarding with echo 1 > /proc/sys/net/ipv4/ip_forward ?
Quoted 1 line
did you install routed on the linux machine ?
Routed is a daemon which speaks RIP to other routers. That isn't needed at all in this case.
Mike.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Quoted 2 lines · Miquel van Smoorenburg
Did you enable forwarding with echo 1 >
/proc/sys/net/ipv4/ip_forward?
yes. the machine already routes correctly between the 2 subnets and the internet which is on a seperate interface. i also disabled /proc/sys/net/ipv4/conf/all/send_redirects, to no avail.
the setup is so:
eth1: public IP
eth0: 192.168.0/24 and 192.168.3/24
routing table has correct entries, the 2 private subnets are routed out thru dev eth0 with appropriate src. eventually i just installed a seperate NIC for 192.168.3/24 and it worked as i expected it to.
however, i still need to know how to get linux 2.2 to do complete forwarding of packets between different logical subnets that share the same link.(i still have a couple more logical subnets that this machine has to route).
So do i need a seperate NIC for each logical subnet? i'm sure i don't, but i don't see what i'm supposed to do with the 'ip' command? different scope or realm? or ... ??
Quoted 1 line
Mike.
regards,
Signature · 11 lines
Paul Jakma [email protected] [email protected] PGP5 key: http://www.clubi.ie/jakma/publickey.txt ------------------------------------------- Fortune: "Nuclear war can ruin your whole compile." -- Karl Lehenbauer - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] Please read the FAQ at http://www.tux.org/lkml/
In article <[email protected]>,
Quoted 8 lines · Paul Jakma
Quoted 2 lines · Miquel van Smoorenburg
Did you enable forwarding with echo 1 >
/proc/sys/net/ipv4/ip_forward?yes. the machine already routes correctly between the 2 subnets and the internet which is on a seperate interface. i also disabled
/proc/sys/net/ipv4/conf/all/send_redirects, to no avail.
What about /proc/sys/net/ipv4/conf/*/rp_filter ? Should be zero for the 192.* interface(s), I think.
Mike.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Quoted 3 lines · Miquel van Smoorenburg
What about
/proc/sys/net/ipv4/conf/*/rp_filter? Should be zero for the 192.* interface(s), I think.
i already have that enabled for security purposes helaas.
Quoted 1 line
Mike.
regards,
Signature · 17 lines
Paul Jakma [email protected] [email protected] PGP5 key: http://www.clubi.ie/jakma/publickey.txt ------------------------------------------- Fortune: DISCLAIMER: Use of this advanced computing technology does not imply an endorsement of Western industrial civilization. PS miquel, bitbucket will jouw email niet accepteren, komt terug met error "550 <[email protected]>... Domain has no existing recipients" - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] Please read the FAQ at http://www.tux.org/lkml/