Jump to content

Trying to set up a simple network


Dustpuppy
 Share

Recommended Posts

Having been warned off using the wizards, I'm trying to configure a network of two systems, both running Mandrake 10(OE), and it hasn't worked.

 

Hardware config:

Dante (desktop 'puter) connected to the internet with Speedtouch 330 USB modem.

Connected to the hub from ethernet card (eth0).

Aristottle (laptop) connected to the hub from ethernet card (eth0).

Cables and hub work.

 

Both firewalls are down.

 

Dante's eth0 has IP 192.168.0.1, and has internet IP by DHCP from my ISP.

Aristottle has 192.168.0.12

 

I can ping 192.168.0.12 from 192.168.0.1 but not the other way round. When Dante's firewall is on I get 'destination host unreachable', and when it is off I don't get anything - it's like the ping command has frozen after saying "PING". I can't get online from Aristottle either, neither by pinging, browsing by name (google.com) nor browsing by IP (216.239.59.99).

 

Full setup is:

 

Dante:

 

/etc/sysconfig/network-scripts/ifcfg-eth0

 

DEVICE=eth0

BOOTPROTO=static

IPADDR=192.168.0.1

NETMASK=255.255.255.0

NETWORK=192.168.0.0

BROADCAST=192.168.0.255

ONBOOT=yes

MII_NOT_SUPPORTED=yes

WIRELESS_ENC_KEY=""

 

/etc/resolv.conf

 

nameserver 212.67.120.148 # ppp temp entry

nameserver 212.67.96.129 # ppp temp entry

 

/etc/sysconfig/network

 

HOSTNAME=Dante

NETWORKING=yes

/etc/sysctl.conf

 

{contains}

net.ipv4.ip_forward = 1

 

Aristottle:

/etc/sysconfig/network-scripts/ifcfg-eth0

 

DEVICE=eth0

BOOTPROTO=static

IPADDR=192.168.0.12

NETMASK=255.255.255.0

NETWORK=192.168.0.0

BROADCAST=192.168.0.255

ONBOOT=yes

HWADDR=00:01:02:d2:3d:43

MII_NOT_SUPPORTED=yes

WIRELESS_ENC_KEY=""

 

/etc/resolv.conf

 

nameserver 192.168.0.1

 

/etc/sysconfig/network

 

HOSTNAME=Aristottle

NETWORKING=yes

GATEWAY=192.168.0.1

GATEWAYDEV=eth0

 

 

Any ideas what I should do?

 

 

[edited to clarify ping problem]

Edited by Dustpuppy
Link to comment
Share on other sites

Ok, first of all sounds like you got a good start to your troubleshooting. Ping is your friend as it is a very basic tool which will work even when DNS doesn't. The first thing I would do is make sure Dante's (192.168.0.1) isn't running some other type of security thing.

 

I've beat my head against the wall and still can't think of it, but my server had a security tool load at boot time which kept me from accessing it remotely in any way. All I would have to do is get on the machine, do a

ps auxw | grep securityutilityname

get it's PID, and kill it. If nothing else, you may try doing a ps auxw and just looking through everything to see if there's something you don't recognize. Google it to see what it is. Kill anything you don't need.

 

Typically if you can ping machine B from machine A, but not the other way around when they are on the same physical network, it is due to some type of a firewall/security deal.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...