opschk@GANGES.UCOP.EDU (06/13/91)
I would like eventually to connect 2 subnets (LAN's) with ka9q using ppp. I am setting the following prototype: Dopey is connected to the 141 subnet via a 16-bit wd8003e card (it has an ip address of 128.48.141.8 ). Its com1 is connected via a cable to a 9600 baud modem whose number is 9870265. Sleepy's COM1 is connected to another 9600 baud modem via a cable. (Eventually it will have a wd8003e card which will connect it to a new subnet. These are the autoexec/dialer files: dopey: ------ hostname dopey.ucop.edu ip address [128.48.144.8] attach asy 0x3f8 4 ppp nt2 8092 576 9600 # this is com2 on 144 subnet ip address [128.48.141.8] attach packet 0x65 nt1 10 1500 # this is on the 141 subnet ifconfig nt1 netmask 0xffffff00 ip 128.48.141.8 broadcast 128.48.141.255 route add [128.48.141]/24 nt1 route add [128.48.144]/24 nt2 route add default nt1 [128.48.141.100] # incorporate the local nameserver for lookups # domain addserver [128.48.141.1] #nile # for broadcasts to work! # arp add [128.48.141.255] ether ff:ff:ff:ff:ff:ff # some standard parameters ip ttl 255 # was 16 tcp mss 1024 # was 216 tcp window 4096 # 1500 # # start up the servers start telnet start smtp start ftp start echo start discard start finger start rip rip add [128.48.141.255] 30 1 rip add [128.48.144.255] 30 1 # domain cache size 150 domain suffix ucop.edu Sleepy: ------- hostname sleepy.ucop.edu ip address [128.48.144.1] attach asy 0x3f8 4 ppp nt1 8092 576 9600 # this is com2 on 144 subnet dialer nt1 0 128.48.144.8 0 dial44.ppp route add [128.48.144]/24 nt1 route add default nt1 [128.48.144.8] # incorporate the local nameserver for lookups # domain addserver [128.48.141.1] #nile # # some standard parameters ip ttl 255 tcp mss 1024 tcp window 4096 # # start up the servers start telnet start smtp start ftp start echo start discard start finger start rip rip add [128.48.144.255] 30 1 # domain cache size 150 domain suffix ucop.edu dial44.ppp: ----------- # Set the speed, and toggle DTR to ensure modem is in command mode. control down wait 3000 speed 9600 control up wait 3000 # Dial, and wait for connection send "atdt9870265" wait 45000 "CONNECT " speed wait 2000 # PAD specific initialization #send "7" #wait 15000 "Terminal =" #send "ppp7" #wait 10000 "70 From another workstation, I can ping 141.8, 144.8, but not 144.1 : 19 nile /usr/users/opschk >ping 128.48.141.8 128.48.141.8 is alive 20 nile /usr/users/opschk >ping 128.48.144.8 128.48.144.8 is alive 21 nile /usr/users/opschk >ping 128.48.144.1 icp->icmp_type (5) != ICMP_ECHOREPLY (0) icp->icmp_type (5) != ICMP_ECHOREPLY (0) icp->icmp_type (5) != ICMP_ECHOREPLY (0) icp->icmp_type (5) != ICMP_ECHOREPLY (0) icp->icmp_type (5) != ICMP_ECHOREPLY (0) icp->icmp_type (5) != ICMP_ECHOREPLY (0) icp->icmp_type (5) != ICMP_ECHOREPLY (0) icp->icmp_type (5) != ICMP_ECHOREPLY (0) icp->icmp_type (5) != ICMP_ECHOREPLY (0) icp->icmp_type (5) != ICMP_ECHOREPLY (0) icp->icmp_type (5) != ICMP_ECHOREPLY (0) icp->icmp_type (5) != ICMP_ECHOREPLY (0) icp->icmp_type (5) != ICMP_ECHOREPLY (0) icp->icmp_type (5) != ICMP_ECHOREPLY (0) icp->icmp_type (5) != ICMP_ECHOREPLY (0) icp->icmp_type (5) != ICMP_ECHOREPLY (0) ^C22 nile /usr/users/opschk > Is there anything wrong with the autoexec/dialer files ?? Is ther a way of testing ppp on a com port<->com port connection without using modems ( to make sure the autoexec's are OK ) ? Sample autoexec/dialer files from successful implementations of ppp greatly appreciated. Many Thanks in Advance Camille Kayruzian, opschk@ganges.ucop.edu 415 987 03 62.
opschk@GANGES.UCOP.EDU (06/13/91)
I would like eventually to connect 2 subnets (LAN's) with ka9q using ppp. I am setting the following prototype: Dopey is connected to the 141 subnet via a 16-bit wd8003e card (it has an ip address of 128.48.141.8 ). Its com1 is connected via a cable to a 9600 baud modem whose number is 9870265. Sleepy's COM1 is connected to another 9600 baud modem via a cable. (Eventually it will have a wd8003e card which will connect it to a new subnet. These are the autoexec/dialer files: dopey: ------ hostname dopey.ucop.edu ip address [128.48.144.8] attach asy 0x3f8 4 ppp nt2 8092 576 9600 # this is com2 on 144 subnet ip address [128.48.141.8] attach packet 0x65 nt1 10 1500 # this is on the 141 subnet ifconfig nt1 netmask 0xffffff00 ip 128.48.141.8 broadcast 128.48.141.255 route add [128.48.141]/24 nt1 route add [128.48.144]/24 nt2 route add default nt1 [128.48.141.100] # incorporate the local nameserver for lookups # domain addserver [128.48.141.1] #nile # for broadcasts to work! # arp add [128.48.141.255] ether ff:ff:ff:ff:ff:ff # some standard parameters ip ttl 255 # was 16 tcp mss 1024 # was 216 tcp window 4096 # 1500 # # start up the servers start telnet start smtp start ftp start echo start discard start finger start rip rip add [128.48.141.255] 30 1 rip add [128.48.144.255] 30 1 # domain cache size 150 domain suffix ucop.edu Sleepy: ------- hostname sleepy.ucop.edu ip address [128.48.144.1] attach asy 0x3f8 4 ppp nt1 8092 576 9600 # this is com2 on 144 subnet dialer nt1 0 128.48.144.8 0 dial44.ppp route add [128.48.144]/24 nt1 route add default nt1 [128.48.144.8] # incorporate the local nameserver for lookups # domain addserver [128.48.141.1] #nile # # some standard parameters ip ttl 255 tcp mss 1024 tcp window 4096 # # start up the servers start telnet start smtp start ftp start echo start discard start finger start rip rip add [128.48.144.255] 30 1 # domain cache size 150 domain suffix ucop.edu dial44.ppp: ----------- # Set the speed, and toggle DTR to ensure modem is in command mode. control down wait 3000 speed 9600 control up wait 3000 # Dial, and wait for connection send "atdt9870265" wait 45000 "CONNECT " speed wait 2000 # PAD specific initialization #send "7" #wait 15000 "Terminal =" #send "ppp7" #wait 10000 "70 From another workstation, I can ping 141.8, 144.8, but not 144.1 : 19 nile /usr/users/opschk >ping 128.48.141.8 128.48.141.8 is alive 20 nile /usr/users/opschk >ping 128.48.144.8 128.48.144.8 is alive 21 nile /usr/users/opschk >ping 128.48.144.1 icp->icmp_type (5) != ICMP_ECHOREPLY (0) icp->icmp_type (5) != ICMP_ECHOREPLY (0) icp->icmp_type (5) != ICMP_ECHOREPLY (0) icp->icmp_type (5) != ICMP_ECHOREPLY (0) icp->icmp_type (5) != ICMP_ECHOREPLY (0) icp->icmp_type (5) != ICMP_ECHOREPLY (0) icp->icmp_type (5) != ICMP_ECHOREPLY (0) icp->icmp_type (5) != ICMP_ECHOREPLY (0) icp->icmp_type (5) != ICMP_ECHOREPLY (0) icp->icmp_type (5) != ICMP_ECHOREPLY (0) icp->icmp_type (5) != ICMP_ECHOREPLY (0) icp->icmp_type (5) != ICMP_ECHOREPLY (0) icp->icmp_type (5) != ICMP_ECHOREPLY (0) icp->icmp_type (5) != ICMP_ECHOREPLY (0) icp->icmp_type (5) != ICMP_ECHOREPLY (0) icp->icmp_type (5) != ICMP_ECHOREPLY (0) ^C22 nile /usr/users/opschk > Also I get nothing (with trace on ) when pinging 144.1 from 144.8 and vice-versa Is there anything wrong with the autoexec/dialer files ?? Is ther a way of testing ppp on a com port<->com port connection without using modems ( to make sure the autoexec's are OK ) ? Sample autoexec/dialer files from successful implementations of ppp greatly appreciated. Many Thanks in Advance Camille Kayruzian, opschk@ganges.ucop.edu 415 987 03 62.