Sponsored Content
Special Forums IP Networking Cant ping Linux machine from Windows Post 302991919 by bakunin on Saturday 18th of February 2017 10:39:12 AM
Old 02-18-2017
Quote:
Originally Posted by videsh77
Its not seen in

arp -a

What is its significance ?
That means that there isn't even a Layer-2 connection in place.

ARP (address resolution protocol) is working on its own address schema (the "MAC-addresses") and works below IP (=Layer 3).

When a IP-Host wants to contact another IP-Host on the same Ethernet segment this is how the communication is finally resolved: each host maintains a table (the so-called "ARP-cache", which the command arp lists) about which IP-address on the same segment relates to which MAC-address (=identifier for a certain network card) and uses this to contact the right host (more precisely: the correct IP-Interface of a certain host). For communication across segment boundaries there are bridges (or routers, switches, ...., which work the same in this regard), which are used as relays. Say, "hostA" (on segment A) wants to contact "hostB" (on segement B):

Code:
hostA@segmentA: sends packet  "dest-IP=hostB, dest-MAC=MAC of router(interfaceA), sender-IP=hostA, senderMAC=hostA"
router(interfaceA): accepts this packet as it is MAC-addressed to it
router: rewrites this packet to "dest-IP=hostB, dest-MAC=MAC of hostB, sender-IP=hostA, sender-MAC=MAC of router(interfaceB)"
router(interfaceB): sends packet to hostB

I hope this helps.

bakunin
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

view remote linux desktop on my windows machine

Hi, is there anyway i can view a remote linux desktop on my windows desktop? i am aware that X11 can see 'certain screens'. For eg if i type 'xclock &' and i have a client running on my windows, i can see the clock. If i am interested to see the entire desktop of my linux, how can i do it? (4 Replies)
Discussion started by: new2ss
4 Replies

2. UNIX for Advanced & Expert Users

how can i copy data in LINUX Machine to windows XP

Can anyone tell me how can i copy data in LINUX Machine to windows XP Thanks, Sandeep (2 Replies)
Discussion started by: bsandeep_80
2 Replies

3. UNIX Desktop Questions & Answers

wt is the exact procedure to share windows printer on linux machine to print from it

hi, what is the exact procedure to to set up printer on linux machine?The printer is a network hp 3050 printer configured on windows xp machine and i want to setup it on linux fc9 machine to print from it.is samba is compulsory for that? please give the exact procedure to do the same? (1 Reply)
Discussion started by: pankajd
1 Replies

4. Shell Programming and Scripting

SSH into a linux machine from a windows machine

I basically want to login into different linux machines( on the same network) from a windows machine. I know i can use ssh <machine name>. But i want to automate this process. I dont want to enter the username and password. Is there any way to do it. Can i make some sort of a batch script for it. (4 Replies)
Discussion started by: lassimanji
4 Replies

5. Solaris

Not able to connect (ping & http) to windows 2003 (with IIS installed) from Solaris9 Machine(Tomcat)

hi Am trying to connect from Solaris 9 installed Sun server and having Tomcat 5.5.9 installed on top of it to Windows 2003 server with IIS installed for web application. Scenarios am facing are 1. From Sun system am able to ping and telnet ip with port 80 of windows 2000 system which is... (2 Replies)
Discussion started by: aemunathan
2 Replies

6. UNIX for Dummies Questions & Answers

Cross complie linux make files onto a windows 7 machine using PGI Cygwin

Hello, I am very unfamiliar with linux/unix (don't even know the difference), but am trying to get some linux software to run on my Windows machine for my research. I have the makefiles for the software, and it is designed to be compiled in the PGI complier, which I also have. When i... (6 Replies)
Discussion started by: roba87
6 Replies

7. Shell Programming and Scripting

shell script to copy files frm a linux machine to a windows machine using SCP

I need a shell script to copy files frm a linux machine to a windows machine using SCP. The files keeps changing day-to-day. I have to copy the latest file to the windows machine frm the linux machine. for example :In Linux, On July 20, the file name will be 20.txt and it should be copied to... (3 Replies)
Discussion started by: nithin6034
3 Replies

8. Shell Programming and Scripting

File transfer from Windows machine to Linux server

Hi guys, I need to send a txt file from a windows machine to Linux server. Any help is appreciated.... Thanks... (3 Replies)
Discussion started by: gowrishankar05
3 Replies

9. Ubuntu

Steps to connect linux (Ubuntu) machine from windows 7

Hi, Can anyone give me the steps to connect ubuntu from windows7? Thanks (1 Reply)
Discussion started by: diehard
1 Replies

10. UNIX for Dummies Questions & Answers

Copy files from Linux server local windows machine using a shell script

Hello, I need to create a shell script which will copy files - which are created on particular date and starting with particular name - to local windows XP machine. Is this possible.? Currently it is being done manually using winscp (1 Reply)
Discussion started by: NarayanaPrakash
1 Replies
wnnhosts(4)							   File Formats 						       wnnhosts(4)

NAME
wnnhosts - Wnn6 Kana-Kanji conversion server/dictionary lookup server access control file SYNOPSIS
/etc/lib/locale/ja/wnn/wnnhosts DESCRIPTION
wnnhosts specifies users who can use the Wnn6 Kana-Kanji conversion server (jserver) and the Kana-Kanji conversion server that can be con- nected to the Wnn6 dictionary lookup server (wnnds). The following is the format of the access control file. Place a space character before "{". jserver ja <Kana-Kanji conversion server> { <access control data> : } wnnds ja <dictionary lookup server> { <access data> : } <Kana-Kanji conversion server> is specified in the following format. hostname The Kana-Kanji conversion server that uses the well-known port number(22273) on host hostname. hostname/port_no The Kana-Kanji conversion server that uses port_no as port number on host hostname. <dictionary lookup server> is specified in the following format. hostname The dictionary lookup server that uses the well-known port number(26208) on host hostname. hostname/port_no The dictionary lookup server that uses port_no as port number on host hostname. <access control data> for jserver is specified in the following format. hostname All the users on the host can use data. hostname:username_list username_list contains a list of username separated with ",". Users listed in the list on this host can use data. @username This user can use data from any host. <access control data> for wnnds is specified in the following format. hostname jserver on this host can be connected. jserver and wnnds use the access control information with the host name and port number matched. Lines beginning with ";" are comments. EXAMPLES
Example 1: jserver ja_JP hostA { ;hostC:usr1,usr2,usr3 hostA:usr1,usr4 hostB hostC:usr5 @usrA ;usrB } wnnds ja_JP hostA { hostA hostD } jserver ja_JP hostA/22273 { hostB hostE @usrA } wnnds ja_JP hostA/22385 { hostA hostD } SEE ALSO
jserver(1M), wnnaccess(1M), wnnds(1M) SunOS 5.10 10 Jan 2003 wnnhosts(4)
All times are GMT -4. The time now is 10:25 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy