Strange thing: arp and windows


 
Thread Tools Search this Thread
Special Forums Windows & DOS: Issues & Discussions Strange thing: arp and windows
# 1  
Old 05-29-2013
Strange thing: arp and windows

A strange situation: i have configured a piranha lvs router(two load balancer and two real servers),
the virtual ip is 192.168.3.252.
Linux and windows clients are on a different subnet (192.168.3.0) and i use route

Code:
route add -net 192.168.3.0/24 dev eth0

on linux

Code:
for /F "tokens=2 delims=:" %%i in ('"ipconfig | findstr IP | findstr 192."') do SET LOCAL_IP=%%i

route add 192.168.3.0 mask 255.255.255.0 %LOCAL_IP% metric 1

On Windows

The real servers use bonding network(mode 1)

On linux no problem,telnet 192.168.3.252 25 ok,thunderbird ok.
On windows work one time yes...and ten not!
On arp i see
Linux: the correct arp
Window: the arp not correct
Why?
# 2  
Old 05-29-2013
Code:
ipconfig | findstr IP | findstr 192.

doesn' return the IP address, but the whole line, which has some title in front. I have only a german WinXP at hand, where it looks like this:

Code:
ipconfig | findstr IP | findstr 192.
       IP-Adresse. . . . . . . . . . . . : 192.168.1.1

This means your command evaluates to (something like)

Code:
route add 192.168.3.0 mask 255.255.255.0 IP-Adresse. . . . . . . . . . . . : 192.168.1.1 metric 1

And this perhaps is a syntax error.

I hope this helps.

bakunin
# 3  
Old 05-29-2013
On XP route is correct,i can ping the server,but
return a bad hw address(arp wrong)
# 4  
Old 10-19-2013
dear please check for arp
it is creating problem
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. IP Networking

necessary ARP request?

Hello, I have 2 clients with Unix installed. host1: eth0 (192.168.5.10) & eth1 (192.168.10.10) host2: eth0 (192.168.10.20) I've connected host1-eth1 to host2-eth0. host1-eth0 isn't connected. I started 'tcpdump' on wonder that host2 got ARP requests for 192.168.5.10. Any idea why host1... (2 Replies)
Discussion started by: daWonderer
2 Replies

2. Solaris

Strange thing with solaris ls on nfs shared directory

I shared from linux server a dir with nfs3,solaris mount ok,and can tar files,but if i do ls or cp.. on mnt i have mount the nfs share root@solaris: mnt $ touch 2 root@solaris: mnt $ ls -lh ls: can't read ACL on .: Permission denied root@solaris: mnt $ ls 1.tar 2 root@solaris: mnt $ cp... (4 Replies)
Discussion started by: Linusolaradm1
4 Replies

3. UNIX for Advanced & Expert Users

arp questions

Can someone please explain this output to me. Why doesn't ifconfig show the same info? ~ $ arp -a ? (10.71.0.1) at 00:1b:21:2b:eb:0c on eth0 (4 Replies)
Discussion started by: cokedude
4 Replies

4. Red Hat

Arp Problem

Dear All i have a linux proxy server which has RHEL-5 64 bit, it has two interfaces, it has the following details eth0=10.200.14.42 eth3=10.201.14.42 default gateway=10.201.14.254 one static route=192.168.0.0/24 gw 10.200.14.254 i am facing a problem when i ping 10.201.14.42 from... (2 Replies)
Discussion started by: surfer24
2 Replies

5. Shell Programming and Scripting

Strange thing with 'cut' in a script

When I run the script I have just created, I get a strange scenario around the following code: echo "Check for duplicate UID's, each user should have a unique user ID (UID)" echo "IF a UID is displayed fix or document why it is required!" echo "Press enter to continue!" read a cut... (1 Reply)
Discussion started by: sport
1 Replies

6. HP-UX

HW Address and arp

I was checking nettl output for a unstable telnet to my server. this is part of output: ### ***********************************STREAMS/UX*******************************@#% Timestamp : Sun Jun 22 EETDST 2008 22:14:47.492899 Process ID : Subsystem ... (4 Replies)
Discussion started by: xramm
4 Replies

7. Windows & DOS: Issues & Discussions

gVim creates and leaves strange tilde ~ files in Windows

Hey folks, I have used gVim in Windows for many years but I have never found an answer to a very simple question I am going to ask you guys... My question is if there is a way to eliminate the creation of those ~ files that gVim creates in Windows. If you have ever used gVim in Windows you... (2 Replies)
Discussion started by: ghbarratt
2 Replies

8. Solaris

ARP Cache

Dear all, We are testing two of our servers for mq series connectivity. The scenario is, when one machine is shutting down it's services there are some scripts that do a dns update, which removes the ip address and relates it to the ip address of the other node on our dns server, and the update... (7 Replies)
Discussion started by: earlysame55
7 Replies

9. UNIX for Advanced & Expert Users

Strange IP traffic behavior when using Samba and FTP (Windows/Mac to Linux)

I have set up a samba share on my Linux server. I have a gigabit switch, gigabit NICs in each machine. I have set up the /etc/samba/smb.conf to support no delay, 8192 send/receive buffers, etc. This helped the rate for Samba go from about 4MB/S to about 10MB/S, but I expect to see about... (1 Reply)
Discussion started by: perspectx
1 Replies
Login or Register to Ask a Question