Solved

need help in adding second NIC

Posted on 2006-10-30
2
230 Views
Last Modified: 2010-03-18
Greetings.

When I Debian Linux, it gave me an option of eth0 or eth1, so I know it could see both NICs ... I chose to use eth0 for my internal network, using 192.168.100.43 ...now need to use the second NIC for an external IP of 66.162.xxx.248 .... I've modified /etc/network/interfaces as shown below, but of course, it still doesn't work ... what else do I need to do?

Thanks in advance for the help.

here's /etc/network/interfaces:


auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
        address 192.168.100.43
        netmask 255.255.255.0
        network 192.168.100.0
        broadcast 192.168.100.255
        gateway 192.168.100.42
        # dns-* options are implemented by the resolvconf package, if installed
        dns-nameservers 206.124.64.253 206.124.65.253
        dns-search usseryprinting.com

auto eth1
iface eth1 inet static
        address 66.162.xxx.248
        netmask 255.255.255.0
0
Comment
Question by:kennmurrah
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 14

Accepted Solution

by:
pablouruguay earned 500 total points
ID: 17837459
you need the gateway
 gateway 66.162.xxx.1 for example

and dns if you want.
0
 

Author Comment

by:kennmurrah
ID: 17837742
Thanks a million .. that worked perfectly.

0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question