| View previous topic :: View next topic |
| Author |
Message |
Zhaozhou Tux's lil' helper


Joined: 25 Oct 2007 Posts: 121 Location: Sweden
|
Posted: Fri Nov 16, 2007 3:12 pm Post subject: [SOLVED] iptables, dnsmasq, one box gets answers, other not. |
|
|
Hi there.
I have just gotten a new server, and i've put that one as the router, setting up my other server as a webserver / mailserver.
I've got just one rule in iptables, "MASQUERADE all -- anywhere anywhere" in nat table.
dnsmasq is at except-interface=eth0 with a dhcp-range from 10.0.0.5 to 10.0.0.10.
From tcpdump you can se that server2 is sending DHCP request, but nothing is sent.
/var/log/syslog sais
DHCPDISCOVER(eth2) :mac:
DHCPOFFER(eth2) 10.0.0.9 :mac:
server2 cant se the offers, just as tcpdump points out.
My laptop on the other hand, connected via eth1, works just fine.
Any ideas? _________________ lunix.
Last edited by Zhaozhou on Wed Dec 05, 2007 7:36 am; edited 1 time in total |
|
| Back to top |
|
 |
Zhaozhou Tux's lil' helper


Joined: 25 Oct 2007 Posts: 121 Location: Sweden
|
Posted: Wed Dec 05, 2007 12:27 am Post subject: |
|
|
Threadbump!
Have done a reinstall after a crash gnump3d gave me, still have the same problem.
My laptop works as a charm, the other one is'nt getting anything.
/me figures there must be something wrong with my iptables-setup. _________________ lunix. |
|
| Back to top |
|
 |
Zhaozhou Tux's lil' helper


Joined: 25 Oct 2007 Posts: 121 Location: Sweden
|
Posted: Wed Dec 05, 2007 7:37 am Post subject: |
|
|
Finally got it.
For those who might care, or have an equal problem;
I had the interfaces under the same subnet, so either change that, or bridge the interfaces. _________________ lunix. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|