Re: Routing problem
Paul Campbell <[email protected]>
| Newsgroups | gmane.org.user-groups.linux.dunedin.general |
|---|---|
| Message-ID | <6519077.3YZB1MaUyn@rata> |
On Wed, 27 Feb 2013 10:48:03 Worik Stanton wrote: > On 26/02/13 21:23, Paul Campbell wrote: > > There's lots of ways to solve this - I'd suggest: > > > > - put the pi and the other laptop interface on some unused subnet such as > > 10.98.76.* > > I am using 192.168.10.* for the subnet using the pi. That is separate > enough? Subnet mask is 255.255.255.0 yes - provided it's not being used anywhere else between you and the wider net > > - turn on NAT in your laptop for outgoing sessions to the household net > > Light dawns. Can I view this (from the pi's perspective) as if my > laptop is a firewall masquarading its IP? yes - the other main alternative is to create routing rules on the household net telling it that there's a hidden subnet inside your laptop and that packets for it should be routed there - a NAT is easier and more self contained Paul _______________________________________________ DunLUG mailing list [email protected] http://lists.ethernal.org/listinfo/dunlug DunLUG Wiki - http://dunlug.kallisti.net.nz/