Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 12 of 12
...thought I'd add my /etc/network/interfaces file as an example for you. As you can see I have two net cards, eth0 and eth1. eth0 is set static, and eth1 is ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Linux Newbie
    Join Date
    Apr 2003
    Location
    Pontypridd, Wales
    Posts
    104

    ...thought I'd add my /etc/network/interfaces file as an example for you.

    As you can see I have two net cards, eth0 and eth1. eth0 is set static, and eth1 is set to use dhcp.


    # /etc/network/interfaces -- configuration file for ifup, ifdown

    # The loopback interface
    auto lo
    iface lo inet loopback
    name Loopback: virtual interface

    # The first network card - this entry was created during the Debian installation
    #auto eth0
    iface eth0 inet static
    name eth0
    address 192.168.0.2
    netmask 255.255.255.0
    broadcast 192.168.0.255
    network 192.168.0.0

    auto eth1
    iface eth1 inet dhcp
    name eth1

    \"One World, One Web, One Program.\" -- Advertisement for Internet Explorer.
    \"Ein Volk, Ein Reich, Ein Fuehrer.\" -- Adolf Hitler.

  2. #12
    Just Joined!
    Join Date
    Aug 2003
    Posts
    82
    You are my hero.

    That is exactly what I needed to work. Thank you. Now I am going to concentrate on getting sound and video card to work....but first a deep breath. Thanks for the support and help.

    Mike

Page 2 of 2 FirstFirst 1 2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •