Re: [opensuse] dhcp server forwarded with wifi



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



Relevant Pages

  • Re: Unable to obtain a server- assigned IP address Try again later or enter an IP address in Net
    ... I can go to Control Panel - Network and Internet Connections - ... If yours is not a subset of your router, ... I have a LINKSYS router (4 port connection) - I have my cable modem ...
    (microsoft.public.pocketpc)
  • Re: Boot-up question on SBS2K3
    ... > The router separates you from the Internet. ... > network. ... >>>> 2 Nics, broadband cable modem connected into the external NIC, ...
    (microsoft.public.windows.server.sbs)
  • Re: Open access point for clients
    ... Boss wants clients to have access to internet ... If you knew enough to get the network setup like it is already then you ought to know how to do this. ... If you can't get a second ip then connect one router to your isp and then connect wan ports of two additional routers to lan side of ISP connected router. ...
    (alt.internet.wireless)
  • RE: Small network with lots of features, questions
    ... Your network sounds overly complicated to me. ... to get to the internet. ... To do that, without using your server as a router, you need ...
    (microsoft.public.windows.server.networking)
  • Re: Need help closing security holes in my Windows XP home system!
    ... >>new portals of access to internet hackers, ... My router came with a default MAC address printed on the bottom. ... > your unique hardware as in your segment of the network - no other device ... > Apply ALL MS Office Updates ...
    (comp.security.firewalls)