Subject: a big fat ADSL ISP connection problem
To: None <tech-net@NetBSD.org>
From: Laser Laserov <lasernet@operamail.com>
List: tech-net
Date: 10/22/2004 19:00:53
[ISP]=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D[ADSLmodem]=3D=3D=3D=3D=3Drtk0[MyRout=
er]rtk1=3D=3D=3D=3D=3D=3D=3D[MyLAN]
ADSLmodem - ZXDSL 831
it's some kind of a router/modem thing. it has a DHCP which gives rtk0
settings and with these settings (usually has to work) I can use the
connection.
I don't have access to ADSLmodem becouse of the ISP's policy (don't have
the password) and I can't do anything with the modem/router except plug
it into some ethernet interface card.=20
MyRouter is on NetBSD:
rtk0: connected to ADSLmodem which is a DHCP and gives rtk0 his settings
rtk1: 192.168.2.1 - connected to MyLAN
(THE BIG FAT PROBLEM)I've setuped a NAT which works, but I'm getting an err=
or:
... /netbsd arpresolv: can't allocate llinfo on rtk0 for 83.228.18.23
and I can't reach the INTERNET through MyRouter and therefore the NAT dosn't
work.
/etc/ipnat.conf:
map rtk0 192.168.2.0/24 -> 0/32
map rtk0 192.168.2.0/24 -> 0/32 portmap tcp/udp 20000:40000=20
On my windows 2000 box it (INTERNET connection) works just gine but notice =
that on the=20
output below the "Default Gateway" setting is the same as "IP Address":
C:\>ipconfig /renew
Windows 2000 IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : home
IP Address. . . . . . . . . . . . : 83.228.18.23
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 83.228.18.23
I then look in the routing tables on my Win2000 box:
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 00 e8 7b 6d 29 ...... Realtek RTL8029(AS) Ethernet Adapt
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 83.228.18.23 83.228.18.23 1
83.228.18.0 255.255.255.0 83.228.18.23 83.228.18.23 1
83.228.18.23 255.255.255.255 127.0.0.1 127.0.0.1 1
83.255.255.255 255.255.255.255 83.228.18.23 83.228.18.23 1
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
224.0.0.0 224.0.0.0 83.228.18.23 83.228.18.23 1
255.255.255.255 255.255.255.255 83.228.18.23 83.228.18.23 1
Default Gateway: 83.228.18.23
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Persistent Routes:
None
And then on MyRouter:
Routing tables:
Destination Gateway Flags
default 83.228.18.23 UG
83.228.18.0 link#1 U
83.228.18.23 127.0.0.1 UGH
127.0.0.0 127.0.0.1 UGR
192.168.2.0 link#2 U
What can I do to share my connection through NAT normally?
How can I get a connection on MyRouter?
Please help!
--=20
_____________________________________________________________
Web-based SMS services available at http://www.operamail.com.
=46rom your mailbox to local or overseas cell phones.
Powered by Outblaze