192.168.0.1.ipconf 202 B

1234567891011
  1. #!/bin/sh
  2. # A small network with no routers
  3. # (maybe *we* are their router)
  4. #
  5. let cfg=cfg+1
  6. if[$cfg]=if
  7. ip[$cfg]=192.168.0.1
  8. ipmask[$cfg]=192.168.0.1/24
  9. ### gw[$cfg]=
  10. ### net[$cfg]=0/0
  11. ### dns[$cfg]=''