D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Networking & Routes



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David Pithouse wrote:

| On each of the termisoc boxes we have to add a default gateway, running
| Debian 3.0 on all the boxes any advice how to set this up when it
| reboots, so we don't have to type 'route add default gw 141.163.153.14'
| each time?

vi /etc/network/interfaces

An example:

auto eth0
iface eth0 inet static
~        address 192.168.1.3
~        netmask 255.255.255.0
~        network 192.168.1.0
~        broadcast 192.168.1.255
~        gateway 192.168.1.254
~        ^^^^^^^^^^^^^^^^^^^^^

Jon.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAlnszeTyyexZHHxERAu/SAKCVOR1rECt8jrWZOBkYXUzxi57VTACbB4/M
Mk7AKMPfyCQ6mwSZ4MMa9C0=
=D4WK
-----END PGP SIGNATURE-----


-- The Mailing List for the Devon & Cornwall LUG Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the message body to unsubscribe.



Lynx friendly