Re: simple connection bridging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > Then again, why not just use the default route [if it fits]?-
> > still needs no extra routes :)
> >
>
>  Because I didn't know if the mentioned linux box was the default gateway
> for the two XP boxes...:)
It is for one, but not the other - can change that if necessary?


I've had to fiddle the IPs to try and get Internet Connection Sharing
(Windows requires 192.168.0.1 be the internet machine), so I've
currently got this:

 - main machine -
ip=192.168.1.2
gateway=192.168.0.1
route add 192.168.0.0 mask 255.255.255.0 192.168.1.10

- internet machine -
ip=192.168.0.1
gateway=192.168.0.10
route add 192.168.1.0 mask 255.255.255.0 192.168.0.10

 - linux machine -
eth0 = 192.168.0.10
eth1 = 192.168.1.10
packet filtering enabled

pinging, ssh, remote desktop all work, but I can't get internet from
the main machine, only the other two.


Aha! I changed the default gateway of my main machine to the linux one
and now I can get online with it again!

Not really sure what it means to change the gateway though - why that
allows it to work online when going direct to the other machine
doesn't?
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux