change IP and hostname

tethys ocean tethys.ocean at gmail.com
Tue Apr 22 13:42:39 UTC 2014


just I had test like as tcpdump -i re0  and tcpdump -A -i re0

no any response,

1 packet captured
19 packets recieved by filter
0 packet  dropped by kernel




On Tue, Apr 22, 2014 at 4:21 PM, Polytropon <freebsd at edvax.de> wrote:

> On Tue, 22 Apr 2014 16:08:14 +0300, tethys ocean wrote:
> > /etc/hosts  is remain default (yet)
> >
> > its has not behind FW yet.
> >
> > no any err. message in all log.. also changed cable, and port still not
> > enable to ping to its own router..
> >
> > it was working on other network block whenever change its IP, router and
> > switch its network connection suddenly stop
> >
> > I can't find why
>
> In this case, use tcpdump and then try to ping again.
> Note that you need root permissions (maybe via sudo)
> to do this.
>
> For example,
>
>         # tcpdump -i xl0
>
> And on a different VT:
>
>         # ping -c 1 192.168.100.1
>
> In this example, 192.168.100.1 would be the IP of the
> router which you know. The interface facing the router
> is xl0. Adjust those things according to your setup.
>
> You should then see something like this:
>
>         15:15:17.785185 IP xxx.xxxxx.xx.38899 > xxxxx.xxxxxxx.xxx.49000:
> Flags [F.], seq 2969289793, ack 1229106900, win 8326, options [nop,nop,TS
> val 62460010 ecr 137373231], length 0
>         15:15:17.790729 IP xxxxx.xxxxxxx.xxx.49000 > xxx.xxxxx.xx.38899:
> Flags [F.], seq 1, ack 1, win 3432, options [nop,nop,TS val 137385608 ecr
> 62460010], length 0
>         15:15:17.790766 IP xxx.xxxxx.xx.38899 > xxxxx.xxxxxxx.xxx.49000:
> Flags [.], ack 2, win 8325, options [nop,nop,TS val 62460016 ecr
> 137385608], length 0
>         15:15:17.872620 IP xxx.xxxxx.xx > xxxxx.xxxxxxx.xxx: ICMP echo
> request, id 21538, seq 0, length 64
>         15:15:17.873190 IP xxxxx.xxxxxxx.xxx > xxx.xxxxx.xx: ICMP echo
> reply, id 21538, seq 0, length 64
>         15:15:22.646588 IP xxxxx.xxxxxxx.xxx.3644 > xxx.xxxxx.xx.14013:
> Flags [S], seq 1365501121, win 5840, options [mss 1460,sackOK,TS val
> 137386094 ecr 0,nop,wscale 1], length 0
>         15:15:22.646628 IP xxx.xxxxx.xx.14013 > xxxxx.xxxxxxx.xxx.3644:
> Flags [R.], seq 0, ack 1365501122, win 0, length 0
>
> You're probably not going to see this. :-) Please post the output
> to the list for better diagnostics. Also verify "ifconfig" output
> to reflect your intended settings.
>
>
>
> --
> Polytropon
> Magdeburg, Germany
> Happy FreeBSD user since 4.0
> Andra moi ennepe, Mousa, ...
>



-- 
Share now a pigeon's flight
Bluebound along the ancient skies,
Its women forever hair and mammal,
A Mediterranean town may arise
If you rip apart a pigeon's heart.


More information about the freebsd-questions mailing list