Re: [opensuse] dhcp server forwarded with wifi
- From: "John Andersen" <jsamyth@xxxxxxxxx>
- Date: Wed, 26 Mar 2008 16:53:00 -0700
On Wed, Mar 26, 2008 at 4:25 PM, Chris H <chris123@xxxxxxxx> wrote:
Greets:
Followed the howto on Novel on setting up a dhcp server for the internal
network but while Im getting an IP the machines being served by the internal
network can seem to find the net. The following is the setup I used:
Machine 1 (router)
============
ath0 external
gets IP from router connected to ISP via dhcp from router
address is non routable 192.168.x.x
eth0 internal
dhcp server set to 10.0.0.1 serving addresses on 10.0.0.x
route
============
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 ath0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 ath0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 ath0
Firewall is set to masquarading and forward
Machine 2
---------------------
dhcp client gets and IP but cannot find the net. Further, I can ping 10.0.0.1
which is the secondary internal gateway on the dual nic machine but I cannot
ping 192.168.1.1 which is the gateway on the router. So forwarding does not
seem to work.
So my only question is can an internal network be masquaraded and forwarded
via a wifi connection to ath0 as it does not seem to work for me regardless
of the gateway identified, the local one (which is the correct one) or the
ISP's
TIA
It might be because you have two non-routable IPs. Some router setups
do not allow that. I don't know about Opensuse's firewall. I never use that.
Have you ever investigated Shorewall? www.shorewall.net .
Also, I would choose to use the dhcp server on your router for your
entire net. There seems little point in placing your network behind
your server which itself is ALREADY behind a hardware router.
Doing so just leads to splitting your wifi connected machines onto a
different subnet than the rest of your wired boxes.
If you are getting your internet connection from the wifi, and if that
is your only option, then what you have described might make sense.
Personally, I connect my Suse box directly to the internet, and use
shorewall for all routeing, and I turn off the dhcp server in my wifi
router and use it strictly as an access point, (not a router) on the
internal portion of my network. (Using big ugly WPA pass phrases of course).
--
----------JSA---------
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
- Follow-Ups:
- Re: [opensuse] dhcp server forwarded with wifi
- From: Chris H
- Re: [opensuse] dhcp server forwarded with wifi
- References:
- [opensuse] dhcp server forwarded with wifi
- From: Chris H
- [opensuse] dhcp server forwarded with wifi
- Prev by Date: Re: [opensuse] Hijacked?
- Next by Date: [opensuse] Disapearing accents (dead keys)
- Previous by thread: [opensuse] dhcp server forwarded with wifi
- Next by thread: Re: [opensuse] dhcp server forwarded with wifi
- Index(es):
Relevant Pages
|