• Network/ethernet card configuration file

    Editing file /etc/network/interfaces

    # This file describes the network interfaces available on your system
    # and how to activate them. For more information, see interfaces(5).

    # The loopback network interface
    auto lo
    iface lo inet loopback

    # The primary network interface
    auto eth0
    iface eth0 inet static
    address w.x.y.z
    netmask 255.255.255.248
    gateway w.x.y.u
    dns-nameservers a.b.c.d
    metric 1
    post-up iptables-restore < /etc/iptables.up.rules

    #Secondary network interface
    auto eth1
    iface eth1 inet static
    address 10.1.5.1
    netmask 255.255.255.0
    network 10.1.5.0
    broadcast 10.1.5.255
    metric 2

0 comments:

Leave a Reply

.

FEEDS FROM THIS BLOG

FEEDJIT Live Traffic Feed

My Zimbio   Blog Directory - OnToplist.com   Red Hat Enterprice Linux RHCE RHCT RHCA RHCSS  Powered by  MyPagerank.Net  Academic blogs & blog posts   BlogRankers.com  TopOfBlogs  BuzzCritic     Academics  Blog Directory  Hihera.com  Technology Blogs - Blog Rankings   Visit blogadda.com to discover Indian blogs  Academics Blogs  Computers (Linux) - TOP.ORG    Rallyshare    Yahoo bot last visit powered by MyPagerank.Net     The Weblog Review  blogarama - the blog directory  SEO services    Academic blogs & blog posts