Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

need help in adding second NIC

Posted on 2006-10-30
2
Medium Priority
?
232 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 2000 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

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

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…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

604 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