Richard's Diary

Tuesday, December 23, 2008

Networking Basics To provision internet access a client needs:
  1. an ip address so data knows where to go
    ifconfig to see ip and subnet mask
  2. a subnet mask to know what hosts will receive its broadcast message on the wire, and therefore which won't, so the message can be sent to the gateway
    Prior to CIDR, the net was classful http://en.wikipedia.org/wiki/Classful_network#Special_ranges
  3. gateway (which could also be the router and firewall, all combined in one)
    http://en.wikipedia.org/wiki/Default_gateway
    netstat -rn to see gateway
  4. a name server so client knows where to send requests
    more /etc/resolv.conf to see nameserver

Network Hardware

NAT (proxy, ip/port forwarding) setup

© 2010 Picky Ricky, Inc. originalblog