Logo 
Search:

Unix / Linux / Ubuntu Forum

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds

set up a home network

  Date: Jan 04    Category: Unix / Linux / Ubuntu    Views: 416
  

I'm trying to set up a home network but I'm getting lost. A link on
how to set network settings on my box. I tried to set a static IP and
set the sub mask at 255.255.255.0 and entered the gateway address but
I get nowhere.

Share: 

 

5 Answers Found

 
Answer #1    Answered On: Jan 04    

I think it better to use DHCP than the static settings unless your ISP
uses only the static which is unusual.

Here is a link to help you:

> https://help.ubuntu.com/7.04/server/C/

 
Answer #2    Answered On: Jan 04    

I attempting to turn an PIII box into a firewall/gateway using Ubuntu
7.04 server OS. Eth0 is DHCP and eth1 is static. Eth1 should be the up
link to my home network but the connection on my switch is dead, the
light stays off, unless I switch the port to normal, not up-link.

 
Answer #3    Answered On: Jan 04    

Uplink mode on a switch / hub is for switch to switch or hub to hub
connections. Your switch should be on normal.

You need to set the firewall rules to use nat and do forwarding from Eth1 to
Eth0, other internal network machines need to point to your Eth1 address as
gateway, and put in your Isp's dns servers in the network setup.

 
Answer #4    Answered On: Jan 04    

I have the firewall turned off until I get this set up.

Thanks for the info on the up-link port.

This is my interfaces file

# 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 dhcp
auto eth1
iface eth1 inet static
address 192.168.1.1
netmask 255.255.255.0
broadcast 192.168.1.255
network 192.168.1.0

I copied this from a howto does it look alright?

 
Answer #5    Answered On: Jan 04    

It's been a while since I manually configured a net card, It should have been
seen on bootup and ashed to be configured.

Are the 2 cards the same brand? I have had good luck with Dlink DFE 530 and
Linksys LN 100 (I think).

A suggestion, as root do lspci and see if there is a listing for both cards
in the list of devices printed out, if it rolls by too fast do lspci | more.

 
Didn't find what you were looking for? Find more on set up a home network Or get search suggestion and latest updates.




Tagged: