Not able to ping the host as per demo of wireguard.
Sahil Gupta
sg5414 at rit.edu
Fri Jul 21 23:20:01 CEST 2017
Hi all,
I am trying demo of Wireguard as shown in this link:
https://www.wireguard.com/talks/talk-demo-screencast.mp4
I am having two laptops connected to same wifi.
Operating system is ubuntu.
I have followed exact same steps as shown in demo but unable to ping the
send laptop.
It is not even recognizing the laptop.
Only difference from video is I don't have eth0 interface but wlp6so
wireless interface.
I am sending both ip addr and wg command results of both.
Please guide what is going wrong with ping command.
Laptop 1(Peer A):
"
root at sahilgupta221-900X3B-900X4B:/home/sahilgupta221# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group
default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp2s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast
state DOWN group default qlen 1000
link/ether e8:03:9a:9a:3b:90 brd ff:ff:ff:ff:ff:ff
3: wlp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP
group default qlen 1000
link/ether 88:53:2e:c7:78:f1 brd ff:ff:ff:ff:ff:ff
inet 192.168.2.211/22 brd 192.168.3.255 scope global dynamic wlp1s0
valid_lft 2130sec preferred_lft 2130sec
inet6 fe80::82c0:7df3:3700:b941/64 scope link
valid_lft forever preferred_lft forever
4: wg0: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1420 qdisc noqueue state
UNKNOWN group default qlen 1
link/none
inet 10.0.0.1/24 scope global wg0
valid_lft forever preferred_lft forever
root at sahilgupta221-900X3B-900X4B:/home/sahilgupta221# wg
interface: wg0
public key: N5XYKCRQvs7mMd1QQiPuNcAmchvB4u1oc3N+RNjWeSs=
private key: (hidden)
listening port: 40668
peer: XtGALYDx+tE9dHBftR26vUkjZ6bHzRZscaaM++NSGk4=
endpoint: 192.168.2.170:59257
allowed ips: 10.0.0.2/32
transfer: 0 B received, 3.04 KiB sent
root at sahilgupta221-900X3B-900X4B:/home/sahilgupta221#
"
Laptop 2(Peer B):
"
root at sahilgupta221-900X3B-900X4B:/home/sahilgupta221# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group
default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp2s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast
state DOWN group default qlen 1000
link/ether e8:03:9a:9a:3b:90 brd ff:ff:ff:ff:ff:ff
3: wlp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP
group default qlen 1000
link/ether 88:53:2e:c7:78:f1 brd ff:ff:ff:ff:ff:ff
inet 192.168.2.211/22 brd 192.168.3.255 scope global dynamic wlp1s0
valid_lft 2130sec preferred_lft 2130sec
inet6 fe80::82c0:7df3:3700:b941/64 scope link
valid_lft forever preferred_lft forever
4: wg0: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1420 qdisc noqueue state
UNKNOWN group default qlen 1
link/none
inet 10.0.0.1/24 scope global wg0
valid_lft forever preferred_lft forever
root at sahilgupta221-900X3B-900X4B:/home/sahilgupta221# wg
interface: wg0
public key: N5XYKCRQvs7mMd1QQiPuNcAmchvB4u1oc3N+RNjWeSs=
private key: (hidden)
listening port: 40668
peer: XtGALYDx+tE9dHBftR26vUkjZ6bHzRZscaaM++NSGk4=
endpoint: 192.168.2.170:59257
allowed ips: 10.0.0.2/32
transfer: 0 B received, 3.04 KiB sent
root at sahilgupta221-900X3B-900X4B:/home/sahilgupta221#
"
Waiting for reply.
Regards
Sahil Gupta
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/wireguard/attachments/20170721/751ffa4b/attachment.html>
More information about the WireGuard
mailing list