Maaf nanya teknis disini.
Di kantor ada ubuntu linux yang hendak dijadikan server dialin,
sedang saya coba dial menggunakan w2k.
/etc/mgetty/login.config
/AutoPPP/ - a_ppp /usr/sbin/pppd auth -chap +pap login debug
/etc/ppp/options
ms-dns 192.168.2.6
ms-dns 192.168.2.2
asyncmap 0
auth
crtscts
lock
hide-password
modem
netmask 255.255.255.0
proxyarp
lcp-echo-interval 30
lcp-echo-failure 4
noipx
defaultroute
10.0.0.1:10.0.0.2
/etc/ppp/pap-secrets
* * "" *
route setelah didial dan tersambung:
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
10.0.0.2 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 192.168.2.1 0.0.0.0 UG 0 0 0 eth0
ppp0 Link encap:Point-to-Point Protocol
inet addr:10.0.0.1 P-t-P:10.0.0.2 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:9 errors:1 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:186 (186.0 b) TX bytes:148 (148.0 b)
dari sisi w2k:
C:\>route print
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 10 a4 08 8d a1 ...... Xircom Ethernet 10/100 + Modem 56 PC Card
0x16000004 ...00 53 45 00 00 00 ...... WAN (PPP/SLIP) Interface
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 10.0.0.2 10.0.0.2 1
10.0.0.1 255.255.255.255 10.0.0.2 10.0.0.2 1
10.0.0.2 255.255.255.255 127.0.0.1 127.0.0.1 1
10.255.255.255 255.255.255.255 10.0.0.2 10.0.0.2 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 10.0.0.2 10.0.0.2 1
255.255.255.255 255.255.255.255 10.0.0.2 2 1
Default Gateway: 10.0.0.2
===========================================================================
Persistent Routes:
None
C:\>ipconfig /ALL
Windows 2000 IP Configuration
Host Name . . . . . . . . . . . . : laptop
Primary DNS Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Broadcast
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Local Area Connection:
Media State . . . . . . . . . . . : Cable Disconnected
Description . . . . . . . . . . . : Xircom CreditCard Ethernet 10/1
Modem 56
Physical Address. . . . . . . . . : 00-10-A4-08-8D-A1
PPP adapter Connection to 95028759:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : WAN (PPP/SLIP) Interface
Physical Address. . . . . . . . . : 00-53-45-00-00-00
DHCP Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 10.0.0.2
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . : 10.0.0.2
DNS Servers . . . . . . . . . . . : 192.168.2.6
192.168.2.2
NetBIOS over Tcpip. . . . . . . . : Disabled
============================================
yang saya heran, kok ip address dan gatewaynya sama?
bagaimana supaya gateway nya menjadi 10.0.0.1 ?
Terima kasih
Aris