Re: How do I add a default gateway?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Tommy (tommyyo.yahoo.com)
Date: 10/11/04


Date: Mon, 11 Oct 2004 01:12:06 +0100


"Madhur Ahuja" <ef@df.com> wrote in message
news:2stjf2F1o92ukU5@uni-berlin.de...
> Tommy <tommyyo.yahoo.com> wrote:
> > "DS" <t.h.i.s.n.t.h.a.t@a.d.e.l.p.h.i.a..n.e.t> wrote in message
> > news:Xns957E6C7D270F3idispcom@216.196.97.142...
> >> "Tommy" <tommyyo.yahoo.com> wrote in
> >> news:uxb2XItrEHA.2924@TK2MSFTNGP12.phx.gbl:
> >>
> [snip]
> >>
> >> the default gateway is already set to 192.168.0.1. it's not really
> >> set for an individual adapter, but for the tcp/ip stack.
> >>
> >> route /? will tell you correct syntax
> >>
> >> the bigger question is why do you need to set it 'for the bluetooth
> >> adapter' ? what does the bluetooth adapter connect to ? is it
> >> getting the correct ip address from a dhcp ? (my GUESS is no, seeing
> >> the 169.254.. address attached to it.)
> >
> > because if you look at the Bluetooth adapter configuration you will
> > see that the default gateway entry is blank. As to what is my
> > Bluetooth network, it is a subnet of two computers, the problem being
> > that
> > the internet access does not seem to extend to the bluetooth computer
> > on the other end. I am trying to fix this manually with 'route' but to
> > be honest I am not sure what I am doing. I have no idea why the
> > blutooth subnet chooses 169.254..
> >
> > here is what you would from ipconfig
> >
> > C:\Documents and Settings\xxx\Desktop>ipconfig /all
> >
> > Windows 2000 IP Configuration
> >
> > Host Name . . . . . . . . . . . . : zzz
> > Primary DNS Suffix . . . . . . . :
> > Node Type . . . . . . . . . . . . : Mixed
> > IP Routing Enabled. . . . . . . . : No
> > WINS Proxy Enabled. . . . . . . . : No
> >
> > Ethernet adapter Bluetooth Network:
> >
> > Connection-specific DNS Suffix . :
> > Description . . . . . . . . . . . : Bluetooth LAN Access
> > Server Driver
> > Physical Address. . . . . . . . . : 00-10-20-30-40-50
> > DHCP Enabled. . . . . . . . . . . : Yes
> > Autoconfiguration Enabled . . . . : Yes
> > Autoconfiguration IP Address. . . : 169.254.235.193
> > Subnet Mask . . . . . . . . . . . : 255.255.0.0
> > Default Gateway . . . . . . . . . :
> > DNS Servers . . . . . . . . . . . :
> >
> > Ethernet adapter Local Area Connection 2:
> >
> > Connection-specific DNS Suffix . :
> > Description . . . . . . . . . . . : Hauppauge WinTV-NOVA
> > Adapter Physical Address. . . . . . . . . : 00-10-20-30-40-50
> > DHCP Enabled. . . . . . . . . . . : Yes
> > Autoconfiguration Enabled . . . . : Yes
> > Autoconfiguration IP Address. . . : 192.168.44.21
> > Subnet Mask . . . . . . . . . . . : 255.255.255.0
> > Default Gateway . . . . . . . . . :
> > DNS Servers . . . . . . . . . . . :
> >
> > Ethernet adapter Local Area Connection:
> >
> > Connection-specific DNS Suffix . :
> > Description . . . . . . . . . . . : NETGEAR FA311 Fast
> > Ethernet PCI Adap
> > ter
> > Physical Address. . . . . . . . . : 00-10-20-30-40-50
> > DHCP Enabled. . . . . . . . . . . : Yes
> > Autoconfiguration Enabled . . . . : Yes
> > IP Address. . . . . . . . . . . . : 192.168.0.121
> > Subnet Mask . . . . . . . . . . . : 255.255.255.0
> > Default Gateway . . . . . . . . . : 192.168.0.1
> > DHCP Server . . . . . . . . . . . : 192.168.0.1
> > DNS Servers . . . . . . . . . . . : 192.168.0.1
> > Lease Obtained. . . . . . . . . . : 09 October 2004 12:08:34
> > Lease Expires . . . . . . . . . . : 16 October 2004 12:08:34
> >
> > C:\Documents and Settings\xxx\Desktop>
>
> Try
> route add 0.0.0.0 mask 0.0.0.0 x.x.x.x where x.x.x.x is the default
> gateway you want to set.
> I see that the bluetooth device is set to the Autoconfiguration IP
> address. Is your device properly connected and is working?

You are not specifiying which interface to add to, and it doesn't change
anything since we already have a default gateway on ethernet/netgear
(btw, we ignore wintv/hauppauge, this is just a tv card, unrelated!!)

Someone said (can't remember who now) that we only need one
default gateway, is that true. Does it mean that the Bluetooth
gateway will know to route the network through the Ethernet
adapter. My problem really, is that I am guessing, I know a bit about
networks, but obviously, not all that is required.

Another question has popped up as well (again I don't remember
who it was), that in Windows XP (as opposed to Windows 2000)
there is a Bridge Connections option which flattens two subnets
into one. Now the question (or questions) is this, since Windows
2000 doesn't have this option, and since this option was added
to XP, can we conclude from that that ICS will not work when
we have two internal subnets, where computer 3 needs to reach
computer 1 in order to see the internet, but it has to first reach
computer 2 before it can see computer 3

3 ----> 2 -------> 1 = internet

btw, my computer 3 is working fine, because if I transfer the internet
modem to computer 2 , it does find the internet. I.e. , it is this extra
hop which seems to be the problem.

Now, since I am not a network man, can I ask you if traditionaly,
i.e. if we don't have an ICS setup, but real static ip's, and computer 2
is like above, i.e. bluetooth+ethernet, and computer 3 need to access
computer1, do I need a default gateway on both adapters on
computer2 , or just one.



Relevant Pages

  • ICS DNS suddenly stopped working.
    ... After adding a new gateway server, and reconfiguring the old gateway server ... without any intervention or other configuration, the ICS connection was ... The first adapter was connected to my cable modem ... internet connection, and configured it appropriately. ...
    (microsoft.public.windowsxp.network_web)
  • Re: NAT from Inside the LAN - Winroute FW 5.0
    ... I'm not all too familiar with Winroute, ... You would also assign your ISP's router as the gateway address of Winroute ... to the Ethernet adapter before you started creating mappings. ... Generally one public address is used for sharing the internet ...
    (comp.security.firewalls)
  • Re: Terminal services for administration
    ... There is only one default gateway defined and it is on the adapter accessing ... the internet, the other adapter has no gateway defined. ... >> manually setup anything on Windows 2003. ...
    (microsoft.public.windows.terminal_services)
  • Re: How do I add a default gateway?
    ... > the default gateway is already set to 192.168.0.1. ... > for an individual adapter, ... > the bigger question is why do you need to set it 'for the bluetooth ... Ethernet adapter Bluetooth Network: ...
    (microsoft.public.win2000.networking)
  • Re: How do I add a default gateway?
    ... >> the default gateway is already set to 192.168.0.1. ... >> the bigger question is why do you need to set it 'for the bluetooth ... > Ethernet adapter Bluetooth Network: ... > Ethernet adapter Local Area Connection: ...
    (microsoft.public.win2000.networking)