How to find MAC of local google server


 
Thread Tools Search this Thread
Special Forums IP Networking How to find MAC of local google server
# 1  
Old 09-07-2011
How to find MAC of local google server

Hi,

I know that ARP is used to find MAC of the destination machine. But I just failed to justify this. I tried below things:

on one shell terminal I executed "arp" command in a loop so that I can find the MAC of concern machine in the output. On the another shell I fired an "ping google.com"
The ping successfully showed the google server is reachable in so so mili sec but ARP table doesn't showed me MAC of google server.

1st is do my machine should know MAC of google server to send any IP packets? If yes then why can't I observed the google server's MAC address in ARP table?

Awaiting for your valuable inputs ...

Thanks...
# 2  
Old 09-07-2011
Because of the scope of the different addresses. The MAC address is a link-local address, meaning it's not routable. As soon as an IP packet would leave the local subnet it has to go through a router (usually the default gateway), which then sends it out with its own MAC address. Same on the way back.
# 3  
Old 09-07-2011
You can't this is one of basic fundamentals of TCP/IP networks usually there are alot of hops and routers between your ISP and google.
If you are lucky best you can have is to capture the MAC address of the nearest hop to you cached in ARP cache table .
# 4  
Old 09-07-2011
Quote:
Originally Posted by zing_foru
Hi,

I know that ARP is used to find MAC of the destination machine.
MAC is only used for the local subnet. If it can't talk directly to the destination network card, if there's any hops inbetween, MAC isn't used.
# 5  
Old 09-12-2011
Thank you all...

Yes I know the fact now... Also I refereed RFC 1180 (specially section 5.2 RFC 1180 - TCP/IP tutorial)
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to Append the output of a script running in remote server to a file in local server?

Hi guys, So i am in server1 and i have to login to server 2, 3,4 and run some script there(logging script) and output its result. What i am doing is running the script in server2 and outputting it to a file in server 2 and then Scp'ing the file to server1. Similarly i am doing this for other... (5 Replies)
Discussion started by: srkmish
5 Replies

2. Homework & Coursework Questions

Configure the AD Window server with Linux server(google Authenticator is installed)

Hi my name is Manju. ->I have configure the two way authentication on my linux server. ->Now I am able to apply two way authenticator on particuler user. ->Now I want to map this linux server to my AD server. ->Kindly tell me how to map AD(Active Directory) with this linux server. ... (2 Replies)
Discussion started by: manjusharma128
2 Replies

3. Solaris

Script to get files from remote server to local server through sftp without prompting for password

Hi, I am trying to automate the process of fetching files from remote server to local server through sftp. I have the username and password for the remote solaris server. But I need to give password manually everytime i run the script. Can anyone help me in automating the script such that it... (3 Replies)
Discussion started by: ssk250
3 Replies

4. AIX

Do I need to configure my local windows to FTP files from local windows to a UNIX AIX server?

Hi Friends, I have this script for ftping files from AIX server to local windows xp. #!/bin/sh HOST='localsystem.net' USER='myid_onlocal' PASSWD='mypwd_onlocal' FILE='file.txt' ##This is a file on server(AIX) ftp -n $HOST <<END_SCRIPT quote USER $USER quote PASS $PASSWD put $FILE... (1 Reply)
Discussion started by: rajsharma
1 Replies

5. Shell Programming and Scripting

preserving the timestamp of a file when copied from remote server to local server using ftp

Hi, I need to copy few files from remote server to local server. I write a shell script to connect to the remote server using ftp and go to that path. Now i need to copy those files in the remote directory to my local server with the timestamp of all those files shouldnt be changed. ... (5 Replies)
Discussion started by: arunkumarmc
5 Replies

6. Red Hat

Command to find the local harddisks of a server ? Including their size

Hi guys How do I find the harddisks in a server ? Rgds Nishant (4 Replies)
Discussion started by: thevishy
4 Replies

7. Shell Programming and Scripting

Can a script runned in local server access remote server?

Hi, Im creating a script that is supposed to run commands on remote server using sftp. My script is as below: #!/bin/ksh sftp remote_server mypassword cd /u08/mydir/allfiles mget * .. But this is what I got when I runned the script: Connecting to remote server...... (3 Replies)
Discussion started by: luna_soleil
3 Replies

8. Shell Programming and Scripting

Find match in two diff file - local srv and remote server

Perl Guru.... I need to compare two diff file (file1.abc will locate in current server and file2.abc will locate in remote server), basically the script will look for match in both file and only will send out email if there is no match and also give me list of unmatch and dups as well. So... (0 Replies)
Discussion started by: amir07
0 Replies

9. Shell Programming and Scripting

Dowloading a File from FTP Server to a local Server where User Id's are different

Hi, The Setup is like this. I'm connecting to Unix machine from my local machine. After connecting to Unix M/c, i need to connect FTP server. Am successful in connecting to FTP server, but am not able to download the file from the ftp server to my local machine. I have different user id's and... (1 Reply)
Discussion started by: ranjith_taurean
1 Replies

10. Shell Programming and Scripting

FTP multiple files from remote server to local server

Hi, I am facing a weired problem in my FTP script. I want to transfer multiple files from remote server to local server everyday, using mget * in my script. I also, want to send an email for successful or failed FTP. My script works for file transfer, but it don't send any mail. There is... (2 Replies)
Discussion started by: berlin_germany
2 Replies
Login or Register to Ask a Question