General discussion

Locked

How to configure a LAN with 2 or more IP

By CyberGod ·
I have to PCs in my office and I need to do the following:
The first PC has 2 LAN cards with UTP cables. One of them is connected to a local HUB and the other one to the second PC I have, which is an Internet server.
How to configure the IP addresses of the two LAN cards on my PC, and this which is a server, if the OS is FreeBSD or WindowsNT ?

This conversation is currently closed to new comments.

8 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

How to configure a LAN with 2 or more IP

by McKayTech In reply to How to configure a LAN wi ...

I'm not clear on what you're trying to do. Usually, the server would have the two NIC cards and one would go to the Internet and the other to your internal network.

Beyond that, it makes a great deal of difference whether you are going to chooseFreeBSD or NT because the range of products is different for each. WIth NT, you would probably want to run Proxy Server. With FreeBSD, you can use the routing and firewall software to set it up any way you would like.

It would be helpful if youcould post more information particularly if you could let us know what you want to accomplish.

paul

Collapse -

How to configure a LAN with 2 or more IP

by CyberGod In reply to How to configure a LAN wi ...

Poster rated this answer

Collapse -

How to configure a LAN with 2 or more IP

by CyberGod In reply to How to configure a LAN wi ...

How to assign two or more IP addresses to a LAN card if the OS is FeeBSD

Collapse -

How to configure a LAN with 2 or more IP

by Barry Hensley In reply to How to configure a LAN wi ...

I am a little confused by your question. It sounds like you are wanting to use a FreeBSD box as a server with 2 NICs, each on a different ip subnet. This is relatively easy. Use the "ifconfig" utility to configure the interfaces. You can assign multiple IP addresses to an interface but, in your case it looks like you just need to assign one ip address to each of 2 Ethernet interfaces. Your OS will identify the interfaces for you, usually as eth0 and eth1.

Use the man page for ifconfig for specific instructions.

Collapse -

How to configure a LAN with 2 or more IP

by CyberGod In reply to How to configure a LAN wi ...

Poster rated this answer

Collapse -

How to configure a LAN with 2 or more IP

by markchen In reply to How to configure a LAN wi ...

Make sure that the two network card are on different subnet. Example subnet mask
1. 255.255.0.0 2. 255.255.255.0

Collapse -

How to configure a LAN with 2 or more IP

by CyberGod In reply to How to configure a LAN wi ...

Poster rated this answer

Collapse -

How to configure a LAN with 2 or more IP

by CyberGod In reply to How to configure a LAN wi ...

This question was closed by the author

Back to Networks Forum
8 total posts (Page 1 of 1)  

Related Discussions

Related Forums