[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 344
  • Last Modified:

network configuration problem

I have a small network. mixture of Win XP SP2, Win 98, and 1 Linux Mandrake 10 (just starting to learn it)
contacted through 8 port hub
Netcomm ADSL router modem contacted to hub, IP internal address 192.168.1.1, dynamic outer address
Win XP, named 01, IP address 192.168.1.2, DHCP assigned
Win XP, named 03, IP address 192.168.1.4, DHCP assigned
Win XP, named 05, IP address 192.168.1.6, DHCP assigned
Win 98, named 06, IP address 192.168.1.7, DHCP assigned
Linux box, named 02, IP address 192.168.1.2, DHCP assigned

The boxes running windows all network and access internet fine

Can't get Linux box to network or access internet, it was working accessing the internet, but I changed some thing some where (as I do when learning) and the internet access has stopped working, have never gotten networking to other boxes working to date, so I know the nic card works

Have used Mandrake Control Center / Network & Internet / New Connection wizard to re set up the networking but still can't get it working

Have spend days reading How To's and gotten no where.

Can someone help?
0
RonOsborne
Asked:
RonOsborne
  • 8
  • 5
1 Solution
 
Chris DentPowerShell DeveloperCommented:

If the IPs listed above are how you have them set now then you have a conflict:

Win XP, named 01, IP address 192.168.1.2, DHCP assigned
Linux box, named 02, IP address 192.168.1.2, DHCP assigned

Chris
0
 
RonOsborneAuthor Commented:
Just a typo. should be

Linux box, named 02, IP address 192.168.1.3, DHCP assigned
0
 
Chris DentPowerShell DeveloperCommented:
The Network interface is up and all correct details assigned (including default gateway and DNS)?
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Chris DentPowerShell DeveloperCommented:

Just in case.. ifconfig -a should display that lot.
0
 
RonOsborneAuthor Commented:
I think the network interface is up and all correct details assigned
Just made a small change to the router, set DHCP address pool to defined range 192.168.1.101 to 192.168.1.149
When resetting linux box to DHCP in Mandrake Control Center / Network & Internet / Manage Connections
it changed setting from
TCP/IP tab is DHCP assigned, IP address 192.168.1.3, NetMask 255.255.255.0, Gateway 192.168.1.1
to
TCP/IP tab is DHCP assigned, IP address 192.168.1.120, NetMask 255.255.255.0, Gateway 192.168.1.1
so have to assume the netcard is working and communicatiing with the router

ifcinfig results before resetting linux box to DHCP in Mandrake Control Center
eth0      Link encap:Ethernet  HWaddr 00:50:BA:13:33:86
          inet addr:192.168.1.120  Bcast:255.255.255.255  Mask:255.255.255.0
          inet6 addr: fe80::250:baff:fe13:3386/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:305 errors:0 dropped:0 overruns:0 frame:0
          TX packets:46 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:39512 (38.5 Kb)  TX bytes:4764 (4.6 Kb)
          Interrupt:10 Base address:0xde00

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:24966 errors:0 dropped:0 overruns:0 frame:0
          TX packets:24966 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2460035 (2.3 Mb)  TX bytes:2460035 (2.3 Mb)

vmnet1    Link encap:Ethernet  HWaddr 00:50:56:C0:00:01
          inet addr:192.168.72.1  Bcast:192.168.72.255  Mask:255.255.255.0
          inet6 addr: fe80::250:56ff:fec0:1/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

vmnet8    Link encap:Ethernet  HWaddr 00:50:56:C0:00:08
          inet addr:192.168.65.1  Bcast:192.168.65.255  Mask:255.255.255.0
          inet6 addr: fe80::250:56ff:fec0:8/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)


ifcinfig results after resetting linux box to DHCP in Mandrake Control Center
eth0      Link encap:Ethernet  HWaddr 00:50:BA:13:33:86
          inet addr:192.168.1.120  Bcast:255.255.255.255  Mask:255.255.255.0
          inet6 addr: fe80::250:baff:fe13:3386/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:308 errors:0 dropped:0 overruns:0 frame:0
          TX packets:53 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:40423 (39.4 Kb)  TX bytes:5574 (5.4 Kb)
          Interrupt:10 Base address:0xde00

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:25136 errors:0 dropped:0 overruns:0 frame:0
          TX packets:25136 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2472049 (2.3 Mb)  TX bytes:2472049 (2.3 Mb)

vmnet1    Link encap:Ethernet  HWaddr 00:50:56:C0:00:01
          inet addr:192.168.72.1  Bcast:192.168.72.255  Mask:255.255.255.0
          inet6 addr: fe80::250:56ff:fec0:1/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

vmnet8    Link encap:Ethernet  HWaddr 00:50:56:C0:00:08
          inet addr:192.168.65.1  Bcast:192.168.65.255  Mask:255.255.255.0
          inet6 addr: fe80::250:56ff:fec0:8/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)


Hope this provides some help
0
 
Chris DentPowerShell DeveloperCommented:

Can you ping the Default Gateway? And can you also try to ping 64.156.132.140?

If both return successfully then it's likely that you just can't resolve names (DNS).

If you can ping the default gateway, but not beyond then do the other computers have the same problem?
0
 
Chris DentPowerShell DeveloperCommented:

Could you post the contents of /etc/resolv.conf too please?
0
 
RonOsborneAuthor Commented:
Linux box can't ping Default Gateway or 64.156.132.140
all other computer ping both addresses successfully

resolv.conf
nameserver 127.0.0.1
nameserver 192.168.1.1
0
 
Chris DentPowerShell DeveloperCommented:

You might want to try replacing the cable, or trying it with one of the network cables the windows machines use to verify there's nothing wrong there.
0
 
RonOsborneAuthor Commented:
Done that very early on, no difference on any cable with any computer
0
 
Chris DentPowerShell DeveloperCommented:

Did you enable a firewall on the machine at all?

And can other PCs ping this one? Or does that timeout too?
0
 
RonOsborneAuthor Commented:
That was it
Shorewall was running, turned it of and all pings work, internet works
I just need to get the rules right for the firewall and get samba working right to use the local network and I'll be right

Thanks very much for your help

I going to post a question about Shorewall if you want to have a go at it?
0
 
Chris DentPowerShell DeveloperCommented:

Glad it's working... always worth having a look at the shorewall part :)
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 8
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now