- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Cannot ping win box from linux or linux from windo...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2000 03:24 PM
11-30-2000 03:24 PM
Cannot ping win box from linux or linux from windows.
(4) windows box in the lan but not the linux box.
I have a DSL conn I would like to share with the lan using the Linux box as firewall. Here are some conf specs let me know what else is needed.
ifconfig:
eth0
Link encap:Ethernet HWaddr 00:C0:F0:3C:21:6F
inet addr:33.222.222.222 Bcast:33.222.222.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
eth1
Link encap:Ethernet HWaddr 00:80:C6:F7:1D:0F
inet addr:192.168.0.20 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
lo
Link Encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
------------------------------------------------------
ifcfg-eth0: DEVICE="eth0"
BOOTPROTO="none"
BROADCAST="33.222.222.255
IPADDR="33.222.222.222"
NETMASK="255.255.255.0"
NETWORK="33.222.222.0
ONBOOT="yes"
----------------------------------------------------------
ifcfg-eth1: DEVICE="eth1"
BOOTPROTO="none"
IPADDR="192.168.0.20"
NETMASK="255.255.255.0"
ONBOOT="yes"
---------------------------------------------------------
network: NETWORKING=yes
FORWARD_IPV4="yes"
HOSTNAME="server.someone.com"
DOMAINNAME="someone.com"
GATEWAY="33.222.222.254"
GATEWAYDEV="eth0"
----------------------------------------------------------
hostname: server
hosts: 127.0.0.1 localhost.localdomain localhost server
33.222.222.222 someone.com someone
192.168.0.20 lan.someone.com
-------------------------------------------
hosts.allow:
#
# hosts.allow This file etc.etc.etc.
#
#
ALL:LOCAL
ALL:192.168.0.0/255.255.255.0
-----------------------------------------------------------
hosts.deny:
#
# hosts.deny This etc.etc.etc.
#
#
#
# The portmap line is etc.etc.etc.
#
ALL:ALL
---------------------------------------------------------------
ipmasq:
LOCALNET=192.168.0.20/255.255.255.0
---------------------------------------------------------------------
Kernel 2.2.12-20
Red Hat ver.6.1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2000 04:11 PM
12-01-2000 04:11 PM
Re: Cannot ping win box from linux or linux from windows.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2000 06:57 PM
12-01-2000 06:57 PM
Re: Cannot ping win box from linux or linux from windows.
What does a netstat -rn report? What run level are in you in?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2000 08:09 PM
12-01-2000 08:09 PM
Re: Cannot ping win box from linux or linux from windows.
To clarify:
-- the LINUX box has two NICS:
-- NIC 1 is set to 32.222.222.222 [really?]
presumably, this goes "to the internet"
-- NIC 2 is set to 192.168.0.22
presumably, this is your internal (windows) LAN
-- there are 4 "windows" boxes; IP addresses not given, however they CAN ping each other, correct? [if not, I think you'll see the problem pretty quickly now...]
So, what is the address of the windows boxes? They SHOULD be 192.168.0.xx where xx is anything from 1 to 254 exclusive of 22 [your linux box]
IF your windows boxes are set to "retrieve an IP address automatically", then the "problem" is that you don't have a local DHCP server running [which SHOULD be run from the linux box...]
IF they are set to something entirely different, well, I think we found the proper herring... :)
if indeed they are set to 192.168.0.xx, then the thing to check is the cable between the hub and the linux box -- are the lights lit? try swapping cables and/or reseating the cables -- you might have inadvertantly put in a "crossover" cable (which would be needed between a DSL modem and a hub, or in cases where you are using twisted-pair cables between two and only two computers and have no "hub"] [also, in rare cases, some hubs have a "crossover/normal" switch which will change the way a particular port is "wired"]
So, if you're at this point, you've verified:
1) the windows boxes are configured on the 192.168.0 network
2) the cables are "good"
3) [possibly] the NIC card in the linux box is OK (when you checked for synch lights, remember?)
if you STILL cannot get a "ping" to work between the windows & linux machines, well, it's time to bring in an expert to physically inspect things -- that's about the limit of my over-the-internet-webpage-troubleshooting I can do :)
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2000 01:28 AM
12-08-2000 01:28 AM
Re: Cannot ping win box from linux or linux from windows.
So you Box is right opposite connected now ?
Volker
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2000 09:25 AM
12-08-2000 09:25 AM
Re: Cannot ping win box from linux or linux from windows.
what was there to lose, went thru the up-grade with no
problems and now everything works just fine, go figure.
I did not do anything different to my configuration before the upgrade, but when it was through upgrading I had no problems. I think the Linux box overheard me talking about Win 2000 haha, thanks anyway for the help.