LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   2 eth devices, 1 DNS, 2 networks? (http://www.linuxquestions.org/questions/linux-networking-3/2-eth-devices-1-dns-2-networks-756950/)

IanVaughan 09-22-2009 04:13 AM

2 eth devices, 1 DNS, 2 networks?
 
I have 2 eth devices, 1 on DHCP on a main network, all ok.
Can the other have a fixed IP on a local network (192.168.0.1)?
Will this conflict with the DNS settings?

MS3FGX 09-22-2009 08:48 PM

Are the two networks in different subnets?

IanVaughan 09-23-2009 06:17 AM

Quote:

Originally Posted by MS3FGX (Post 3693597)
Are the two networks in different subnets?

Yes, I want one on the corp subnet <- these machines work fine

Machines on this subnet :-
1) Windows
IP Address. . . . . . . . . . . . : 172.24.40.68
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 172.24.40.1

2) Linux
inet addr:172.24.40.63 Bcast:172.24.40.255 Mask:255.255.255.0

And one on a local/private subnet, ie 192.168.0.* <- its setting up this I have concerns about conflicting with the above.

prasanta 09-23-2009 12:29 PM

Windows (eth1) - 172.24.40.68 Linux (eth1) - 172.24.40.68
Windows (eth0) - Fixed Private IP Linux (eth0) - Fixed Private IP
| |
--------------------------------------------
|
DHCP Server

prasanta 09-23-2009 12:30 PM

Code:

Windows (eth1) - 172.24.40.68              Linux (eth1) - 172.24.40.68
Windows (eth0) - Fixed Private IP          Linux (eth0) - Fixed Private IP
        |                                            |
          --------------------------------------------
                              |
                          DHCP Server
                              |
                            LAN

This would work, with no conflict in IP address.

Regards,

--
Prasanta


All times are GMT -5. The time now is 11:05 PM.