Click to See Complete Forum and Search --> : How do I find my IP address?
DJKAOS
11-26-2001, 05:42 AM
so we have AT&T thing and pay for one IP address. but I put 2 network cards in one computer so my computer is "sharing" the connection.
do I have an IP? or not.
when I type inconfig of ifconfig whatever it is it says my IP is 192.168.0.2 but I know thats not right...I mean it works here on my computer and my laptop...but that can't possibly be the IP everyone else see's my computer as?
David Dorward
11-26-2001, 06:47 AM
With two network cards you should see at least three ip addresses.
localhost: 127.0.0.1 - loopback
eth0: one network card
eth1: another network card
192.168.0.2 is a reserved address for use on LANs, this should be the address that other computers on your LAN see your machine as.
You should also have another address for the card that is connected to the whatever device you connect to AT&T with. I'm not sure if the AT&T ip is assigned to the device or your eth1 card.
As you are only seeing one ip address, I am assuming that the network card that is hocked to the AT&T device isn't properly configured.
bdg1983
11-26-2001, 07:13 AM
ifconfig on the pc with the 2 ethernet cards should tell you the ip address of each.
Dru Lee Parsec
11-26-2001, 12:19 PM
when I type inconfig of ifconfig whatever it is it says my IP is 192.168.0.2 but I know thats not right...I mean it works here on my computer and my laptop...but that can't possibly be the IP everyone else see's my computer as?
That's the IP of your computer. It sounds like you're wanting to find the IP of your cable modem. That's the IP that you use as your gateway. You can find that in Linuxconf under the networking section.
The way I have mine set up is I use a Linksys router right after my cable modem that has the external side as DHCP and the internal side as 192.168.1.1 All my computers use 192.168.1.1 as their gateway.
Now, what you want is to find out what IP is assigned to you EVEN IF you're set up as dhcp (because cable providers WILL change your IP on you). There are some sites out there that will tell you what IP you are "calling" from . Do a search on Google for "What's my ip" and you'll see dozens of them. You just access that web site and it tells you what IP you're coming from.
Hope that helps clear things up.
DJKAOS
11-26-2001, 04:30 PM
Thanks, I found it now.
(did the search on google and found it.)