Windows akzeptiert Gateway nicht

Marco Meier mm at marcomeier.de
Fri Sep 22 10:17:48 CEST 2000



>> auf meiner debian (Kernel 2.2.17) habe ich einen isdn Dial In Server
>> eingerichtet.
>> Läuft auch soweit alles. Nur nimmt der Windows Rechner
>> (trotzt "Standardgateway des RemoteServers verwenden") immer die eigene
>> von device.ippp1 vorgegebene local Interface Adresse auch als
Standardgateway.
>> Ergo kann er den DNS des Servers nicht erreichen und auch den Hostnamen
>> (linux)
>> nicht auflösen. ip-up bzw. ip-down sind soweit leer (da Dial out adsl ist).
>> device-ippp1 weisst ms-dns 192.168.0.1 auf. Dennoch verwendet der Client
>> 172.16.0.20 als IP (vorgegeben durch 172.16.0.1:172.16.0.20 in ipppd.ippp1)
>>
>> Auch proxyarp ist aktiviert.
>>
>hi :)

>nach deinen angaben muessste alles laufen. kannste mir mal die genauen
angaben
>von local und remote ip und gateway und dns server auf der  windows kiste
>zumailen?

>hauke

Die Windows Kisten konfigurieren sich vollautomatisch (beziehen aller
Adressen vom Server - habe auch versucht alle vorzugeben, ging auch
nicht)

Hier die Konfig des Servers (vielleicht sieht jemdand den Fehler, mir sind da
echt die Ideen ausgegangen)

---Schnipp------------------------------------------------------------------
linux:/etc/isdn# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
172.16.0.20     0.0.0.0         255.255.255.255 UH    0      0        0 ippp0
62.225.255.161  0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
10.0.0.0        0.0.0.0         255.255.255.0   U     0      0        0 eth1
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
0.0.0.0         62.225.255.161  0.0.0.0         UG    0      0        0 ppp0

linux:/etc/isdn# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:01:02:A1:1D:0E
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::1:2a1:1d0e/10 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:59966 errors:0 dropped:0 overruns:0 frame:0
          TX packets:59008 errors:0 dropped:0 overruns:0 carrier:1
          collisions:2062 txqueuelen:100
          Interrupt:11 Base address:0xa400

eth1      Link encap:Ethernet  HWaddr 00:80:48:CA:AD:92
          inet addr:10.0.0.1  Bcast:10.255.255.255  Mask:255.255.255.0
          inet6 addr: fe80::80:48ca:ad92/10 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:13155 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13234 errors:0 dropped:0 overruns:0 carrier:0
          collisions:1 txqueuelen:100
          Interrupt:10 Base address:0xa800

ippp0     Link encap:Ethernet  HWaddr FC:FC:AC:10:00:01
          inet addr:172.16.0.1  P-t-P:172.16.0.20  Mask:255.255.255.255
          inet6 addr: fe80::fcfc:ac10:1/10 Scope:Link
          UP POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
          RX packets:10 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:30

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:3924  Metric:1
          RX packets:1471433 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1471433 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0

ppp0      Link encap:Point-to-Point Protocol
          inet addr:62.226.24.31  P-t-P:62.225.255.161  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:13147 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13073 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:10


Optionen in ipppd.ippp0
lcp-restart 1           # Set timeout for LCP
auth
require-pap             # allow only pap authentication (dialin only)
login                   # use system password database for pap
-ac
-pc
-vj                     # van jacobsen compression on/off
-vjccomp                # van jacobsen connection-ID compression on/off
-bsdcomp                # bsd compression on/off
noccp                   # compression negotation on/off
nolzs                   # LZS compression off (not yet supported fully)
172.16.0.1:172.16.0.20  # set local ip to X, remote ip to Y
netmask 255.255.255.255 # set netmask, 255.255.255.255 is for pointopoint
-defaultroute           # (dont) set default route
hostroute               # dont set host route
proxyarp                # (dont) set an proxy arp entry
mru 1524                # set maximum size of recive units to X
mtu 1500                # set maximum size of transmit units to X (1500 is OK)
ms-dns 192.168.0.1      # dns address for the peers use (dialin only)

Anhang: device.ippp0

Wie bereits gesagt: ip-up / down haben nur für ippp1
(Ausfallsicherung für adsl - out) Defaultrouteneinstellungen
---Schnapp--------------------------------------------------------------------
Warum setzen die Windows Clients nicht 172.16.0.1 als Gateway? Warum
172.16.0.20?(See attached file: device.ippp0)
Oder wie sonst kann ich die Windowsclients auf ein beliebiges Gateway zwingen?

Besten Dank,

Gruss, Marco
-------------- next part --------------
A non-text attachment was scrubbed...
Name: device.ippp0
Type: application/octet-stream
Size: 11078 bytes
Desc: not available
URL: <http://lug-owl.de/pipermail/linux/attachments/20000922/a4133cd7/attachment.obj>


More information about the Linux mailing list