Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-26-2007, 06:55 AM   #1
Registered: Oct 2006
Location: The Ether
Distribution: Ubuntu 16.04.7 LTS, Kali, MX Linux with i3WM
Posts: 299

Rep: Reputation: 30
XP - Linux network : IP address question.

Hi there,
I have an XP machine linked to a LInux box via crossover cable. The XP machine has two network cards because I often ICS to my Linux box. For those familiar with XP I have to "Network Bridge" the two cards. Now when I bridge the two cards and run ipconfig in XP I see that the "Network Bridge Interface" gets assigned

IP of 192.168.0.X.
Default Gateway
DHCP Server
DNS Server

The question I need to ask is that from my Linux box I can ping the Network Bridge at 192.168.0.X but I can also ping . When I ping the latter what is it that I am actually pinging ??? Note that I am not connected to or sharing the net at the time.

Thanks again !

Old 11-26-2007, 09:39 AM   #2
Registered: Dec 2005
Distribution: Fedora, CentOS
Posts: 515

Rep: Reputation: 66
Do you have a router connected to a modem? You're probably pinging one of those two things.
Old 11-26-2007, 10:32 AM   #3
Senior Member
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
ok more details would be nice. network bridge means you tie the 2 NICs together so they function as 1 NIC as far as the OS is concerned.

ICS has nothing to do with network bridge. ICS = internet connection sharing. in other words you connect to the internet via a NIC, USB modem, or some other kind of modem device.

as you are using a crossover cable to connect Linux to XP and you have stated you are using ICS so that makes your winXP box for all intensive purposes a router/nat firewall. not a very good idea, but it is easy and it works well enough if you do not have the $40 to go out and buy a Linksys or D-link or something along that line router for your internet connection. or you are on a dial-up connection and thus can not setup a router or do not have the extra hardware to build an IPCop (google for that you might like it) firewall to connect to the internet for you.

1. what kind of internet connection do you have
2. unless you have 3 NICs and or are doing mega file sharing via your LAN, why network bridging? no need to bind those 2 cards like that
3. when ICS is running is the default gateway of the XP shared connection device.
Old 11-26-2007, 01:23 PM   #4
Registered: Oct 2006
Location: The Ether
Distribution: Ubuntu 16.04.7 LTS, Kali, MX Linux with i3WM
Posts: 299

Original Poster
Rep: Reputation: 30
Thanks for the reply lleb.
I think you forgot to read the last line of my original post. I was not net connected at the time.
My XP machine is connected to an ADSL modem via ethernet and I do not have a router. I often share my net connection with my Linux box as my ISP does not allow for direct linux connections. For this I assumed I needed two Nics on the XP box. One to connect to the ADSL modem and the other to connect to the linux box.
I figured out that ( when I an NOT connected to the net) is my ADSL Modem.
Just as an aside I will try not bridging the two nics and see if I can connect to the net.
I am sure I tried previously and it did not work.

Thanks again !

Old 11-26-2007, 03:37 PM   #5
Senior Member
Registered: Mar 2004
Location: Cary, NC, USA
Distribution: Fedora, Kubuntu, RedHat, CentOS, SuSe
Posts: 1,288

Rep: Reputation: 99
To give us a little more info, unbridge your network cards, connect to the net and on your XP box run "ipconfig /all" and post the output here. Also, post the output of "ifconfig -a" on your linux box. (Feel free to obscure your real IP if it shows up on your XP box's output, but I'm guessing it will be a 192.168 number anyway).
Old 11-26-2007, 05:28 PM   #6
Registered: May 2005
Location: North lincolnshire
Distribution: Mint 18 Cinnamon
Posts: 47

Rep: Reputation: 19
Some time ago I had Desktop PC which connected to my ADSL Modem?router( intranet address ( the private side - i.e my LAN ) via ethernet. I wanted to connect my ancient laptop to the internet and so I bought a pcmcia wireless card for the laptop and a pci wireless card for the Desktop PC.

My adsl modem was connected to eth0 ( the ethernet card ) and the card had the following config:
IP add

For the wireless card
IP add

for the laptop

That worked fine.
It would not work with all on the 192.168.1.x range



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
FC4 I get IP address (on any network) but I can't access to outside the network bodhisattva Fedora 10 02-07-2006 06:58 AM
Linux dhcp client can't get address on Windows network km4hr Linux - Networking 12 03-10-2005 08:35 PM
network address terminoligy question blackzone Linux - Networking 1 09-10-2004 04:50 AM
What is Gateway address and what is Network address? abefroman Linux - Networking 1 03-17-2004 08:25 PM
question about network address and broadcast address yuzuohong Linux - Networking 1 09-18-2002 11:47 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:44 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration