Mailinglist Archive: opensuse (5100 mails)

< Previous Next >
Re: [SLE] HowTo connect dhcpd and dhcp-client
  • From: Ulrich Leopold <uleopold@xxxxxxxxxxxxxx>
  • Date: 07 Jun 2004 22:09:43 +0200
  • Message-id: <1086638983.4104.2.camel@xxxxxxxxxxxxxxxxxxxxxx>
On Mon, 2004-06-07 at 18:46, Leendert Meyer wrote:
> On Monday 07 June 2004 17:02, Ulrich Leopold wrote:
> > On Mon, 2004-06-07 at 15:25, Leendert Meyer wrote:
> >
> > Ok. I have all these options checked. It should work now. But it does
> > not.
> >
> > I have the feeling that the problem is in the transmission on teh server
> > of input from eth1 (dhcpd-server, internal device) to eth0 (dhcp-client
> > to the internet, external device).
>
> Yes.
>
> > Maybe the router configuration doe snot match? I configured this as
> > default=192.168.01 and IP forwarding.
>
>
>
> > In addition when I boot now the computer I get martian sources from my
> > ISP somewhere which "blocks" the internet. Is this due to running and
> > detecting a dhcpd-server?
>
> Yes, you can turn that off with:
> FW_KERNEL_SECURITY="no"
> in /etc/sysconfig/SuSEfirewall2 (read its comment there).
>
> > I am getting a bit lost I must say. I have been configuring and trying
> > so much that I might have screwed something up now (?).
>
> That is a possibility. ;) I had some difficulties too with the first time.
>
> What is the output of:
> - diff -U 0 /etc/sysconfig/SuSEfirewall2 /usr/share/doc/packages/SuSEfirewall2/SuSEfirewall2.sysconfig
> - ifconfig eth0
> - ifconfig eth1
> - route

Ok. I attached three different files diff-firewall, ifconfig and route.

So far I have not turned off
FW_KERNEL_SECURITY="no"

I changed some of the ip# numbers and subnet
numbers as well in order to try to match them between eth0 and eth1 and route. But I am not
quite there where I thought I could be ;-) But thanks a lot to you Leen and Peter so far.

Cheers, Ulrich
eth0 Link encap:Ethernet HWaddr 00:00:B4:BB:CA:DB
inet addr:62.194.22.104 Bcast:255.255.255.255 Mask:255.255.255.128
inet6 addr: fe80::200:b4ff:febb:cadb/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:25586 errors:0 dropped:0 overruns:0 frame:0
TX packets:2642 errors:0 dropped:0 overruns:0 carrier:0
collisions:5 txqueuelen:1000
RX bytes:3422205 (3.2 Mb) TX bytes:360476 (352.0 Kb)
Interrupt:5 Base address:0xbc00

eth1 Link encap:Ethernet HWaddr 52:54:05:FE:C2:D7
inet addr:192.168.0.1 Bcast:192.168.0.127 Mask:255.255.255.128
inet6 addr: fe80::5054:5ff:fefe:c2d7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:81 errors:0 dropped:0 overruns:0 frame:0
TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9466 (9.2 Kb) TX bytes:4418 (4.3 Kb)
Interrupt:9 Base address:0xc000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1223 errors:0 dropped:0 overruns:0 frame:0
TX packets:1223 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:237604 (232.0 Kb) TX bytes:237604 (232.0 Kb)

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
node-c-1600.a20 * 255.255.255.128 U 0 0 0 eth0
192.168.0.0 * 255.255.255.128 U 0 0 0 eth1
link-local * 255.255.0.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default h22001.upc-h.ch 0.0.0.0 UG 0 0 0 eth0
< Previous Next >