Broadband & Warp

From OS2World.Com Wiki
Revision as of 14:51, 10 October 2021 by Martini (talk | contribs)
Jump to navigation Jump to search
Article Info
Author Dave Saville - D Z Consulting
Date
OS Version
Companion File
Source

Getting Connected

   Box type
   Cable type
   Hubs, Routers & Firewalls 

Getting Registered

   MAC Addresses
   Browser
   Restarting 

Addressing

   Local LAN
   "Private" ranges
       10.0.0.x
       172.16.x.x
       192.168.x.x 
   Otherwise.........
   NAT 

DNS

   Manually
       Need to know when DNS server(s) changed
       Need to update all boxes on LAN
       ETC\resolv2 points to ISPs DNS Servers 
   Automatically
       Need to run Bind on the firewall
       Need to hack dhcpcd.cfg located in ETC
       All boxes except the firewall have resolv2 pointed at the firewall box. 

Routing - x:\mptn\bin\setup.cmd

   Firewall 192.168.0.1
   route -fh
   arp -f
   ifconfig lo 127.0.0.1
   ifconfig lan0 192.168.0.1 netmask 255.255.255.0
   dhcpstrt -i lan1
   route add net 192.168.0 192.168.0.2 1 netmask 255.255.255.0
   ipgate on
   	
   A N Other Warp PC 192.168.0.2
   route -fh
   arp -f
   ifconfig lo 127.0.0.1
   ifconfig lan0 192.168.0.2 netmask 255.255.255.0
   ifconfig lan0 192.168.1.2 netmask 255.255.255.0 alias
   route add default 192.168.0.1 1
   ipgate on
   	


Network Example

dhcpcd.cfg

option 1                                 # Subnet Mask
option 3                                 # Router
option 6 exec "c:\bin\dnsupdate.cmd %s"  # Domain Name Server
option 15                                # Domain Name
option 28                                # Broadcast Address
option 33                                # Static Routes
option 60 "IBMWARP_V3.1"                 # Vendor Class
option 77 "IBMWARP_V3.1"                 # User Class