networking-forum.com
Community BlogCommunity Wiki * Register  * Search  * Login
View unanswered postsView active topics

All times are UTC - 6 hours [ DST ]



Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: Default Gateway
PostPosted: Sat Apr 21, 2012 1:22 pm 
Offline
Junior Member
Junior Member

Joined: Tue Feb 07, 2012 4:13 pm
Posts: 62
Certs: CCENT, CCNA
Hey,

Can the default gateway of a host pc be in a different subnet than the host pc? For example, let's say a host pc has IP address 192.168.1.10 /24 and the router has sub-interfaces in the LAN with IP addresses 192.168.1.1 /24 and 172.20.20.1 /24. Can the host pc's default gateway be 172.20.20.1 /24?

Thanks...


Top
 Profile  
 
 Post subject: Re: Default Gateway
PostPosted: Sat Apr 21, 2012 1:26 pm 
Offline
Post Whore
Post Whore
User avatar

Joined: Mon Jan 17, 2005 11:01 pm
Posts: 5150
Location: Canada eh
Certs: 350-001, CCNP, CXFF, ITILv3F
No.

_________________
blog.brokennetwork.ca


Top
 Profile  
 
 Post subject: Re: Default Gateway
PostPosted: Sat Apr 21, 2012 2:49 pm 
Offline
Junior Member
Junior Member

Joined: Tue Feb 07, 2012 4:13 pm
Posts: 62
Certs: CCENT, CCNA
Infinite wrote:
No.


So why did this work in Cisco Packet Tracer?


Top
 Profile  
 
 Post subject: Re: Default Gateway
PostPosted: Sat Apr 21, 2012 3:15 pm 
Offline
CCIE #38070
CCIE #38070
User avatar

Joined: Wed Jun 18, 2008 7:49 am
Posts: 12488
Location: London, UK
Certs: CCIE ,CC-NP/IP, JNCIP-SP, JNCIS-ENT, BC-/SPNE/NP
Because proxy arp was probably enabled

_________________
www.mellowd.co.uk/ccie/


Top
 Profile  
 
 Post subject: Re: Default Gateway
PostPosted: Sat Apr 21, 2012 7:24 pm 
Offline
Junior Member
Junior Member

Joined: Tue Feb 07, 2012 4:13 pm
Posts: 62
Certs: CCENT, CCNA
mellowd wrote:
Because proxy arp was probably enabled


I don't know if Packet Tracer has the ip proxy-arp command.....

So when the pc (192.1681.10) ARPs to its default gateway (172.20.20.1), can the default gateway send an ARP reply because the MAC address of the 172.20.20.1 sub-interface on the router is the same as the Fa0/0 interface?

I don't know how the default gateway can be in a different subnet. This does not make sense to me and yet it still works. I think it's an issue with Packet Tracer.


Top
 Profile  
 
 Post subject: Re: Default Gateway
PostPosted: Sat Apr 21, 2012 10:27 pm 
Offline
Ultimate Member
Ultimate Member

Joined: Wed Sep 01, 2010 3:37 pm
Posts: 921
Location: Las Vegas, NV
Certs: Sec+, MCSE, MCITP:EA, CCNP
ip proxy-arp is a default so unless you entered no ip proxy-arp it will be on.

-Otanx


Top
 Profile  
 
 Post subject: Re: Default Gateway
PostPosted: Sat Apr 21, 2012 10:49 pm 
Offline
Junior Member
Junior Member

Joined: Tue Feb 07, 2012 4:13 pm
Posts: 62
Certs: CCENT, CCNA
mellowd wrote:
Because proxy arp was probably enabled


Yeah, you're right.....it does have proxy arp.

DSL_Modem#show ip interface fa 0/0.192
FastEthernet0/0.192 is up, line protocol is up (connected)
Internet address is 192.168.1.1/24
Broadcast address is 255.255.255.255
Address determined by setup command
MTU is 1500
Helper address is not set
Directed broadcast forwarding is disabled
Outgoing access list is not set
Inbound access list is not set
Proxy ARP is enabled
Security level is default
Split horizon is enabled
ICMP redirects are always sent
ICMP unreachables are always sent
ICMP mask replies are never sent
IP fast switching is disabled
IP fast switching on the same interface is disabled
IP Flow switching is disabled
IP Fast switching turbo vector
IP multicast fast switching is disabled
IP multicast distributed fast switching is disabled
Router Discovery is disabled
IP output packet accounting is disabled
IP access violation accounting is disabled
TCP/IP header compression is disabled
RTP/IP header compression is disabled
Probe proxy name replies are disabled
Policy routing is disabled
Network address translation is disabled
WCCP Redirect outbound is disabled
WCCP Redirect exclude is disabled
BGP Policy Mapping is disabled
DSL_Modem#

Thanks mellowd :)


Top
 Profile  
 
 Post subject: Re: Default Gateway
PostPosted: Sat Apr 21, 2012 10:50 pm 
Offline
Junior Member
Junior Member

Joined: Tue Feb 07, 2012 4:13 pm
Posts: 62
Certs: CCENT, CCNA
Otanx wrote:
ip proxy-arp is a default so unless you entered no ip proxy-arp it will be on.

-Otanx


Thanks Otanx 8)


Top
 Profile  
 
 Post subject: Re: Default Gateway
PostPosted: Fri Apr 27, 2012 3:19 am 
Offline
New Member
New Member

Joined: Mon Apr 09, 2012 2:35 am
Posts: 25
Certs: CCNA
mitm wrote:
Hey,

Can the default gateway of a host pc be in a different subnet than the host pc? For example, let's say a host pc has IP address 192.168.1.10 /24 and the router has sub-interfaces in the LAN with IP addresses 192.168.1.1 /24 and 172.20.20.1 /24. Can the host pc's default gateway be 172.20.20.1 /24?

Thanks...



Hey can you please help me? I am using packet tracer and trying to configure default gateway on my PC. How do i define mask for it? which tab should i do it on? My def gw is 172.16.10.1/24...I am not able to figure out how to add mask?
Thank you !


Top
 Profile  
 
 Post subject: Re: Default Gateway
PostPosted: Fri Apr 27, 2012 4:22 am 
Offline
Senior Member
Senior Member

Joined: Mon Sep 20, 2010 7:09 am
Posts: 485
Location: Kent
Certs: CCNA, ITIL v3 F
you dont need to enter the mask for default gateway, just the ip address of the default gateway.

mask is only needed for the pc ip address.


Top
 Profile  
 
 Post subject: Re: Default Gateway
PostPosted: Fri Apr 27, 2012 5:06 am 
Offline
New Member
New Member

Joined: Mon Apr 09, 2012 2:35 am
Posts: 25
Certs: CCNA
But i think its taking mask as 255.255.0.0 since its class b ip address..and i am not able to reach gateway


Top
 Profile  
 
 Post subject: Re: Default Gateway
PostPosted: Fri Apr 27, 2012 5:16 am 
Offline
Senior Member
Senior Member

Joined: Mon Sep 20, 2010 7:09 am
Posts: 485
Location: Kent
Certs: CCNA, ITIL v3 F
post configs then?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group