Great Discussion on this subject:
http://www.experts-exchang
Main Topics
Browse All TopicsOk, here was my instructors network configuration below:
IP Address: 69.227.102.9
Default GAteway: 69.227.102.14
My question is, how can I make the DEFAULT GATEWAY (69.227.102.14) ONLY to show up in www.whatismyip.com (on the internet) instead of my IP Address of (69.227.102.9) if this were my network configuration at home? Also, Im using my Linksys router which is 192.168.1.1
How can I do this?
Because my instructor a while back had his default gateway IP (69.227.102.14) show up on the Internet instead of the original IP address (69.227.102.9)....
He said he did this for extra security at his school...
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Great Discussion on this subject:
http://www.experts-exchang
You have to have a routable internet ip from your ISP in order to be on the internt. The device that takes that IP needs to be a gateway to your network. I'm not sure you chould hide that IP. You can give a firewall that live IP, and hide everyting inside the rotuer, but at some point, you have to have a visable IP. The only way to have the gateway be the last demark point, in other words, is if you own that gateway and have control so you can put the nessacary routing infomation in it.
If your firewall supports a stealth mode, you might be able to stop software like whatmyip from finding it, but, the software at whatsmyip could not find you if you did not request a connection. You allowed it to speak to your computer by the very fact that you connected to there site. If somebody at that ip had tried to get a response from you without your requesting that connection first, it would have returned a null.
I think this is what you were asking.
Ok, I am viewing my IP address in my Linksys router which is:
Internet Address: 66.245.195.189
Default Gateway: 66.245.195.1
Now, if I go into my router's configuration, what will I have to do in order to use the DEFAULT GATEWAY address instead of the INTERNET ADDRESS?
This how my instructor did is setup.
I see that its real complicated. Perhaps heres a better example using www.grc.com
When I was at my school, I did a ports probe on the Shields Up thing. After the probe, the top part of the results came up as FAILED but as I scrolled dows yto each of the ports, it showed as STEALTHED...Now, it was probing his DEFAULT GATEWAY address INSTEAD of the ORIGINAL IP address that we all use and that is broadcasted over the internet. Now when I do the same thing at home, it scans my ORIGINAL IP and not my Gateway IP. Is there a way to turn this around like he did???
I'll tell you what guys.....to make this fair on you, I will contact him and I'll bet he would explain it to me. If Im that despirate, I wanna make him even write it down for me and I will post the info that he gave me here to see if I can do the same thing or not.
IP Address: 69.227.102.9
Default GAteway: 69.227.102.14
Ok, the way my instructor has his network setup is like this:
SBC Router's IP: 69.227.102.14
Server IP Address: 69.227.102.10
Linksys Router: 192.168.1.1
Then I went to his Routers configuration Setup/Status Page and I found this:
Ip Address: 69.227.102.9
DEFAULT GATEWAY: 69.227.102.14
I wanna know how he was able to get the DEFAULT GATEWAY to be broadcated over the Internet?
This really doesn't have to do with your router.
You have two problems. First you are confusing _your_ computer's default gateway with your router's default gateway.
If your router's _real_ external IP address is 1.2.3.4 and your IP address is 192.168.0.10
and your router's _internal_ private IP is 192.168.0.1 then _your_ default gateway is 192.168.0.1, NOT whatever default gateway your ISP assigned your router.
So you really want the IP reporter (http://www.whatismyip.com
So, go to your router's web control panel, look in the status page and find it's real, external IP.
now browse to http://www.whatismyip.com/
Now this SHOULD be the default behaviour for most router's and configurations. so if your routers IP _is_ being reported, then nothing is wrong.
If what http://www.whatismyip.com/
That is, it is possible for a website to use your browser to ask your system to report it's IP.
Though Firefox doesn't do this, at least by default.
I checked with my SuSE 9.3 Pro setup and Firefox, Konqueror, Opera, Mozilla, Epiphany, and Lynx all default to not reporting your IP.
Hope this helps clear it up.
Tachyon
Ok,
Heres what I see:
Internet Address: 66.245.195.189
Default Gateway: 66.245.195.1
Then I have my Linksys Router which does all the logging in automatically and that is 192.168.1.1. Now heres what I want to do. I want to use the DEAFULT GATEWAY which is 66.245.195.1 to be shown over the Internet, NOT my actual IP (66.245.195.189) which is shown over the net.
Hope this is clear.
Tachyon_1 gave a pretty good explanation (IMHO).
Unless your ISP is willing to do NAT, I am not aware you can do what you want. In any event, even if they did do NAT for you, the IP address revealed will not be the "Default Gateway" but the IP on the far side of the router that's doing the NAT.
The key to understanding what's happeing is to do a diagram like the follwoing, and listing the near side (LAN) addresses and the far side addresses (WAN) of each routing device that moves traffic from one subnet to the next one.
Internet------(209.94.10.5
Source addresses as seen from a host out on the internet tend to be the WAN side IPs of the router, not the LAN Side.
An example of this is if you are able to do traceroutes (tracert in windows) from two computers to each other (that are separated by routers), you will see two different results. Why, because going in one direction reports IPs on one side of each device (router) and the other direction will reveal IPs on the other side of the devices.
RG
Thanks ravindranathgoswami,
I agree, I think he is confused about what he or his teacher _thinks_ they are doing.
Even if you could somehow actually configure your setup in the manner that jslayton01 is actually asking, and I'm not sure you could, it wouldn't actually work IMO.
If hosts on the Internet believed your system to be at your gateway's address, no requests made to them would ever come back to you.
Example, you try to browse to google.com and your packets go out to google's server. These packets are then mangled by whatever magical process your instructor thinks he is using, and are sent out with a return address (or rather a source IP, but that's just semantics) that belongs to your ISP's gateway and NOT your computer. SO, what will happen is that google will receive the packets, process the request, and send it's response back to the gateway's ISP. When they reach the gateway, they will stop, and be dropped by the gateway, never reaching your computer.
The only thing that makes sense here is that your instructor has poorly explained his badly setup NAT router. And this would only work if he has decided to use real IP's on his LAN instead of properly using the assigned private IP's. (ie 192.168.x.x, or 10.x.x.x) This would explain why it looks like you are two gateway's deep.
I think this may be what you want is NAT. If that's the case, just enable NAT and DHCP server on your router. Then, on your computer change your NIC settings to obtain an IP address via DHCP.
I know you are using SuSE, so just go to the YaST panel under network devices, pick your NIC at the bottom, choose edit, and pick DHCP settings (I'll explain that if you need me to). and reboot (I know I know, all you purists know you don't have too, and SuSE does reset the interface itself, but it's just easier and safer for a noob who's already used to rebooting Win and the drop of a hat)
What happens with NAT is this. When you send a packet out to the internet, it goes through your router first (which is _also_ your default gateway). The router mangles the packet and changes the source IP (or return address) from your computer's unrouteable private IP, to it's real Internet address. It also make a note to itself as to what computer sent that request, and to what server. Now when the response comes back from the Internet server, it's addressed to your router. The router looks at it and looks at it's little post-it-note and says, "ah ha, ok, that's that google request that jslayton01 sent" and forwards the return packet to your computer after changing the destination address to your computers private LAN IP address.
This accomplishes what you are asking. Your computer and it's IP are never exposed to the Internet. Your router (which is also your gateway, and hub, and firewall, and DHCP server, etc.) is exposed in your place.
So, thinking on it, I think you really just need NAT which was mis-explained to you by your instructor.
Let me know if you need walked through configuring your router and or computer for NAT.
Tachyon
Also, looking at your comments, I'm thinking you might have your DSL and router hooked up wrong.
IF you had your DSL modem plugged into one of your router's LAN ports instead of your WAN port, _and_ if you have DHCP on your DSL modem (or ISP) then it's possible that you could end up with the configuration you are saying you have. This would also explain why your computer shows up on the net with a real IP too.
Move the cable from the modem to the router's WAN or Internet port. Turn on the DHCP server in your router (first), and reboot the whole mess, DSL modem first, then router, then PC.
Tachyon
ravindranathgoswami
That was very goo diagram and I will do something similar in M$ Paint :) :)
My connection is hooked up fine. Because my router (linksys) is doing all the work when dialing my DSL connection, and plus all my ports are stealthed by the router.
Let me talk to my instructor today....Im sure he can tell me the explanation here. So....hang on and I will get back with you guys ASAP when I know what he's doing....
Thanks.
www.whatismyip.com works out the source address of the request, and uses that on a dynamic webpage.
If you change your source address, you'll change what is on this website...
No other way round it.
I don't think your instructor was doing what you think he was...
> Now, if I go into my router's configuration, what will I have to do in order to use the DEFAULT GATEWAY address instead of the INTERNET ADDRESS?
as explained above: don't do that 'cause it breaks your connection
jslayton01, before you ask more about your config and what you want to achieve: are you used to IP and RFC-IP (aka private IP) and NAT and what is a router
and a gateway (sorry in M$-terminology this seems to be the same)?
It's hard to give you instruction to do something which might be impossible or useless if your're not used to these terms.
Ok, heres some more info on this: He is using a PRIVATE IP ADDRESS. Look below:
Network Whois record
Queried whois.arin.net with "!NET-69-227-102-8-1"...
CustName: INTNL CAREER DVLPMNT CT-041004095427
Address: Private Address
City: Plano
StateProv: TX
PostalCode: 75075
Country: US
RegDate: 2004-10-04
Updated: 2004-10-04
NetRange: 69.227.102.8 - 69.227.102.15
CIDR: 69.227.102.8/29
-Ok, heres some more info on this: He is using a PRIVATE IP ADDRESS. Look below:
-Network Whois record
-Queried whois.arin.net with "!NET-69-227-102-8-1"..
-NetRange: 69.227.102.8 - 69.227.102.15
-CIDR: 69.227.102.8/29
^ This is a not a private address, it's a public address:
Private addresses are in these ranges:
Class A
(24 Bit) 10.0.0.0 10.255.255.255 /8 255.0.0.0
Class B
(20 Bit) 172.16.0.0 172.31.255.255 /12 255.240.0.0
Class C
(16 Bit) 192.168.0.0 192.168.255.255 /16 255.255.0.0
Private addresses are not routed over the internet, and that's why you cannot have one show up as the last IP to your network. The last public IP will always be shown.
Right, you are confusing personal, owned or registered with private.
This means different things in TCP/IP terminology to what you might use in regular everyday speech.
Try thinking of it this way, a PRIVATE IP is kept private from the Internet. It never get's routed to the Internet, or replied to.
A PUBLIC IP is an IP that can be reached from and looked up on the Internet.
So even though you have your very own personal, one of a kind, your's only IP address. It's not a PRIVATE IP.
If you kept it private, it would be useless. Imagine if Google kept their IP 'private'? what good would it be? It's like having an unlisted phone number.
You're not gonna get a lot of calls to that.
As for
"So if I want my default gateway to be shown on the net, will I have to enable NAT in my router or not?"
You are misunderstanding that part. You are making a connection between your gateway and your Internet address because they happen to exist on the
same piece of hardware. Forget about your gateway address for now. Let's look at it.
Your Linksys router does multiple functions, it's a LAN hub, and WAN router, a gateway, a DHCP server, and firewall etc.
Your LinkSys exists on two networks. It has TWO IP addresses.
It is part of your Internal, private IP, LAN. By factory default, that IP address is 192.168.0.1 which is part of the network 192.168.0.0
It will assign clients on your LAN (like your PC) adresses via DHCP. You probably will be assigned something like 192.168.0.100
You LinkSys also is on the Internet and is assigned a real, PUBLIC IP by your ISP. That address appears to be 69.227.102.14.
Now, with NAT enabled on your LinkSys YOUR default gateway is 192.168.0.1 NOT 69.227.102.14
Your default gateway will always be part of the same subnet as you are (192.168.x.x in this case) that's why you NEED a gateway. A gateway is a router between
different subnets. In your case, between 192.168.x.x and the Internet.
So here's your setup:
| -------------------- Linksys router box --------------------------
[PC at 192.168.0.100]------------
--- = physical connection network connection ~~~ = internal virtual connection
Now, nothing from the Internet can go in past your LinkSys and access your LAN.
I still think, looking at your reported IP's that you have your DSL modem plugged into the wrong port on your LinkSys. Just because it works doesn't make it right.
IF you have your DSL modem plugged into the LAN ports, _it WILL still work_ however, you've turned your Linksys gateway, router, firewall into nothing more than a hub.
Because of this your PC is getting assigned a real public IP. At least that's what the ip you are reporting is. It's getting it's DHCP assignment from your ISP through the DSL modem, not through the router.
Do an 'ifconfig eth0' and see what it says for inet addr:
If it's really a real IP, then you do need to check your physical connections.
So, what you want is to see whatismyip.com to show your router's external IP address. Not your gateway address. Even though thats the same box.
If it reports the same IP as is reported by ifconfig above, then you have another problem alltogether.
Tachyon
Ok, nice drawing BTW....I like it. Very clear to understand....As you can see, it shows my Routers IP address here.
Heres my IFCONFIG...NOT IPCONFIG since Im running LINUX as you said.
ifconfig
eth0 Link encap:Ethernet HWaddr 00:03:47:F0:CA:10
inet addr:192.168.1.102 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::203:47ff:fef0:ca10/6
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:224 errors:0 dropped:0 overruns:0 frame:0
TX packets:205 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:226348 (221.0 Kb) TX bytes:36812 (35.9 Kb)
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:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:500 (500.0 b) TX bytes:500 (500.0 b)
No, you can't have a private IP address on the Internet. All routers are designed to drop all packets from private subnets when addressed to real subnets.
However, there are other options. Anonomizer sites and such. And you can google free proxy servers, though they don't often work well, or stay up long.
And if you're trying to hide from 'the man' forget it. You can't, not since the PA.
One solution is to use an ISP like US Family that double NAT's it's users. Personally I _hate_ this because you just plain can't get to your own box from the Internet at all.
I think you are worrying too much. If you have your router's default password changed, disable remote administration feature, run NAT, and don't forward any ports, you are really about as secure as you can be without hampering your functionality.
Glad to see your linux IP is a proper private one BTW. That's good. So your LAN/WAN is connected correctly.
I think you're fine. BTW, SuSE's pretty secure anyway, and it also has it's own firewall which can be enabled in YaST.
That and since you're not running Win/IE, you're already eliminating 99% of the security risk.
Tachyon
> As you can see, it shows my Routers IP address here.
As we all can see there is no router IP.
Please reread http:#14600200 (and all following comments).
> My main goal is, to have an anonymois IP which I thought I can use my 192.168.1.1 ip.
> Because no one can trace the 192.168.xxx Ip because many users are using it.
private IPs are not routed in the internet (again: see previous comments)
Also: if you hide/fake your IP, how should traffic come back?
> So, is there any way that I can use an ANONYMOUS IP address?
no. Dot. Period.
> Is there like a free proxy server that I can use?
there're countless anonymizing proxies in the internet, just enter these keywords in your prefered search engine and you 10+k hits.
But take care which one you use, depending on in which country they are located, it's more or less anonymous.
I you want anonymous browsing, take a look on this page: http://tor.eff.org
Business Accounts
Answer for Membership
by: net_sec_guruPosted on 2005-08-03 at 13:41:03ID: 14592970
if you connect through a proxy then your IP will show up as the IP of the proxy and not from your server / router.
does this help or are you looking at IP Masq or some other avenue?