Home Network Connections
David A. Bandel
david
Mon May 17 11:49:15 PDT 2004
On Fri, 11 Jul 2003 23:36:46 -0700
Tom Lombardo <tlombardo at caserdoo.com> wrote:
Not the info I needed.
Unless your router had the Desktop and Laptop (Wireless) interfaces
bridged, you need different subnets on those two interfaces.
------------
| Internet |
------------
|
------------
| Router |
------------
______________|A |B
| |
---------- | ----------
| Desktop | ------| Laptop |
----------- ----------
OK, let's assume your router connection (eth0) to the Internet is good.
Then you have Interface A (eth1) connected to your desktop.
You have Interface B (wlan0 or eth2) connected to your laptop.
A and B, unless you are running a bridge, must have IPs on different
subnets:
A: 192.168.0.1 with Destop 192.168.0.2
B: 192.168.1.1 with Laptop 192.168.1.2
each address above uses netmask 255.255.255.0 w/ broadcast at
xxx.xxx.xxx.255
This also makes masquerading (SNAT) to the Internet easy:
iptables -t nat -A POSTROUTING -s 192.168.0.0/23 -o eth0 -j SNAT
--to-source xxx.xxx.xxx.xxx
This help?
>
> David,
>
> Thank you again!
>
> I found more about the router:
> Channel = 6
> WEP encryption disabled
Not relevant
>
> The laptop:
>
> In the Network Configuration tool the DNS tab contains this info:
> Hostname = wireless
> Primary DNS 192.168.2.1
> Secondary DNS = [blank]
> Tertiary DNS = [blank]
worry about DNS later. Get basic networking working first.
>
> In the KDE Control Center, Network > LAN Browsing settings:
> LISa daemon
> Scan these addresses 192.168.2.2/255.255.255.0
> Trusted addresses 192.168.2.2/255.255.255.0
> Broadcast network addresses 192.168.2.2/255.255.255.0
> ResLISa daemon
> Trusted addresses 192.168.2.2/255.255.255.0
[snip]
David A. Bandel
--
Focus on the dream, not the competition.
Nemesis Racing Team motto
GPG key autoresponder: mailto:david_key at pananix.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.linux-sxs.org/pipermail/linux-users/attachments/20030712/a2fcc810/attachment.pgp
More information about the Linux-users
mailing list