Hi there,

for nights I tried to get diald work as a connection server for some
winsucks clients (NT/98) on a cheapernet LAN. Every time I make a
request on NT/98 diald calls the ISP and connects, but I don't get e.g.
an ICMP reply for an internet host on the NT/98 machine although on the
linux server it works!

I'm running quite a lot services on my linux box like diald, dhcpd,
named (bind8), squid 2.0, enabled IP forwarding because of 2 segments
connected via eth0/eth1, compiled the kernel with firewalling, IP
masquerading. I'm using internally RFC1597 addresses
(192.168.1.0/192.168.2.0) and I'm connecting via ppp. The linux box runs
RedHat 5.2 on a Pentium 133, 64 MB, U-SCSI.

Here are some config files which might help solve the problem:

/etc/diald/diald.conf

include /etc/diald/phone.filter
device /dev/modem
speed 115200
lock
mode ppp
local 192.168.1.1
remote 195.38.137.1
dynamic
pppd-options noipdefault ipcp-accept-local ipcp-accept-remote
up-delay 5
defaultroute
modem
crtscts
connect "/usr/sbin/chat -v -f /etc/sysconfig/network-scripts/chat-ppp0"
redial-timeout 5
retry-count 0
died-retry-count 0
fifo /etc/diald/diald.ctl
debug 31

/etc/named.conf
options {
 directory "/var/named";
 forward only;
        forwarders {
        195.38.137.65;
 195.38.137.66;
        };
 query-source address * port 53;
};

logging {
 category queries { default_syslog; };
};

zone "." {
 type hint;
 file "named.ca";
};

// the local zone
zone "dummy.com" {
 type master;
 file "named.hosts";
};

// the reverse lookup zone for localhost
zone "0.0.127.in-addr.arpa" {
 type master;
 file "named.local";
};

// the reverse lookup zone for 192.168.1.0 (local)
zone "1.168.192.in-addr.arpa" {
        type master;
        file "named.rev.192.168.1";
};

// the reverse lookup zone for 192.168.2.0 (local)
zone "2.168.192.in-addr.arpa" {
        type master;
        file "named.rev.192.168.2";
};

// the reverse lookup zone for 255.255.255.0 (local)
// this is required because of dhcpd having the need of setting up a
special
// route to 255.255.255.255
zone "255.255.255.in-addr.arpa" {
 type master;
 file "named.rev.255.255.255";
};

Netstat output

After diald ist started but not connected:

[root@main /root]# netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt
Iface
255.255.255.255 0.0.0.0         255.255.255.255 UH     1500 0          0
eth0
195.38.137.1    0.0.0.0         255.255.255.255 UH     1500 0          0
sl0
192.168.1.0     0.0.0.0         255.255.255.0   U      1500 0          0
eth0
192.168.2.0     0.0.0.0         255.255.255.0   U      1500 0          0
eth1
127.0.0.0       0.0.0.0         255.0.0.0       U      3584 0          0
lo
0.0.0.0         0.0.0.0         0.0.0.0         U      1500 0          0
sl0

-------------------------------------------------------------------------------

After diald has connected:

[root@main /root]# netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt
Iface
255.255.255.255 0.0.0.0         255.255.255.255 UH     1500 0          0
eth0
195.38.137.1    0.0.0.0         255.255.255.255 UH     1500 0          0
ppp0
195.38.137.1    0.0.0.0         255.255.255.255 UH     1500 0          0
sl0
192.168.1.0     0.0.0.0         255.255.255.0   U      1500 0          0
eth0
192.168.2.0     0.0.0.0         255.255.255.0   U      1500 0          0
eth1
127.0.0.0       0.0.0.0         255.0.0.0       U      3584 0          0
lo
0.0.0.0         0.0.0.0         0.0.0.0         U      1500 0          0
ppp0
0.0.0.0         0.0.0.0         0.0.0.0         U      1500 0          0
sl0

Any help is very appreciated. And yes I read through the FAQ, man pages
and the mailing list archive ;)

Thanks in advance!
--
Sandro

             _\\|//_
            (' o-o ')
----------oooO-(_)-Oooo-------------

"Just look at the sun and be happy!"


-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to