I need some help.

I need some help.

Post by Job Eisse » Wed, 30 Jun 1999 04:00:00




> ...computers 192.168.42.0, 192.168.42.1, and 192.168.42.1.  So i did that

Make that 192.168.42.1, 192.168.42.2, 192.168.42.3

Quote:> ...netmask and bradcast for the computers? what should i set the mtu to? do

255.255.255.0    192.168.42.255                    don't set mtu

Quote:> ...i need to make a dns?

Not yet

Quote:> ...supposed to goto ppp0 was going to eth0 how can i prevent internet stuff
> from trying to go over the network eth0 and going to ppp0 but still have

route add -net default ppp0

                                have patience             -job

 
 
 

I need some help.

Post by Vincent De Keersmaeke » Thu, 01 Jul 1999 04:00:00



> Ok heres the deal.  I want to connect all of my computers together with
> networking.  over the network i want to be able to go on the internet
> from all of the comptuer using IP Masquerading, print from all the
> computers, get access to files on every computer from every other
> computer and chat from computer to computer.  So i went  out and bought
> a 3com kit with a 4 port hub and 2 nic cards.  i installed the card in
> the machines that needed them and now i am lost.  I have 3 computer that
> need to be networked.  2 linux machines (named linux1 and linux2) and a
> windows machine (windows1).  I was just going to make the ips on the
> computers 192.168.42.0, 192.168.42.1, and 192.168.42.1.  So i did that
> by running: # ifconfig eth0 192.168.42.0(1) and then ifconfig eth0 up.

192.168.42.0 is normally a network adress and not a ip adres for a host.
don't use that one, start with 192.168.42.1

Quote:> I thought i would set up the linux machines before trying the windows.
> But its not working!! i dont know why.  what do i need to set for the
> netmask and bradcast for the computers?

if you are not subnetting (and i gues you are'n't), the default values
should be ok (netmask 255.255.255.0)

Quote:> what should i set the mtu to? do
> i need to make a dns? if so how do i do that.  i want to make linux1 my

you don't need DNS, you can solve all name-problem by editing the hosts
-files (normally /etc/hosts)

Quote:> server, and that has the modem in it at ppp0.  another problem that i
> was having was after i set up eth0 on linux1 all the info that was
> supposed to goto ppp0 was going to eth0 how can i prevent internet stuff
> from trying to go over the network eth0 and going to ppp0 but still have
> network access. please i really, really need help.

  probably a routing problem : check with to "route" command where wich ip
adresses are routed to.

Vincent