Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Router interfaces
- root@routermad:~# /sbin/ifconfig
- br-lan Link encap:Ethernet HWaddr C0:4A:00:0A:24:9C
- inet addr:192.168.3.1 Bcast:192.168.3.255 Mask:255.255.255.0
- inet6 addr: fe80::c24a:ff:fe0a:249c/64 Scope:Link
- inet6 addr: fd05:c741:a732::1/60 Scope:Global
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:135634940 errors:0 dropped:0 overruns:0 frame:0
- TX packets:154645648 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:97989332412 (91.2 GiB) TX bytes:145456486266 (135.4 GiB)
- eth0 Link encap:Ethernet HWaddr 20:CF:30:D3:38:26
- inet addr:78.84.67.xxx Bcast:78.84.95.255 Mask:255.255.224.0
- inet6 addr: fe80::22cf:30ff:fed3:3826/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:270256890 errors:0 dropped:0 overruns:11 frame:0
- TX packets:262913517 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:2327987803 (2.1 GiB) TX bytes:2522464887 (2.3 GiB)
- Interrupt:4
- eth1 Link encap:Ethernet HWaddr C0:4A:00:0A:24:9C
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:44806113 errors:0 dropped:56 overruns:270 frame:0
- TX packets:47252094 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:1255337153 (1.1 GiB) TX bytes:1372107395 (1.2 GiB)
- Interrupt:5
- lo Link encap:Local Loopback
- inet addr:127.0.0.1 Mask:255.0.0.0
- inet6 addr: ::1/128 Scope:Host
- UP LOOPBACK RUNNING MTU:65536 Metric:1
- RX packets:382570 errors:0 dropped:0 overruns:0 frame:0
- TX packets:382570 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:33687370 (32.1 MiB) TX bytes:33687370 (32.1 MiB)
- tap_soft Link encap:Ethernet HWaddr 00:AC:02:B1:41:B5 <----------------------------------- TAP interface created with softether
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:92453263 errors:0 dropped:442 overruns:0 frame:0
- TX packets:109029053 errors:0 dropped:7913 overruns:0 carrier:0
- collisions:0 txqueuelen:500
- RX bytes:4261363555 (3.9 GiB) TX bytes:2449961720 (2.2 GiB)
- wlan0 Link encap:Ethernet HWaddr C0:4A:00:0A:24:9C
- inet6 addr: fe80::c24a:ff:fe0a:249c/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:470955 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:0 (0.0 B) TX bytes:40844617 (38.9 MiB)
- Bridge setup (There is only one DHCP server, which gives out addresses for LAN and VPN clients, it is possible to configure seperate addresses for VPN and LAN, but I was not planning on doing that, because this configuration suits my use better.)
- root@routermad:~# brctl show
- bridge name bridge id STP enabled interfaces
- br-lan 7fff.c04a000a249c no eth1
- wlan0
- tap_soft <-- Softether TAP interface
- http://i.imgur.com/34VKi2a.png Softether TAP configuration.
- This is what it looks like on VPN clients side
- Ethernet adapter Softether_1 - VPN Client:
- Connection-specific DNS Suffix . : lan
- IPv6 Address. . . . . . . . . . . : fd05:c741:a732::ecf
- IPv6 Address. . . . . . . . . . . : fd05:c741:a732:0:f124:e834:bcdb:4da7
- Temporary IPv6 Address. . . . . . : fd05:c741:a732:0:a9da:9486:55ae:e97c
- Link-local IPv6 Address . . . . . : fe80::f124:e834:bcdb:4da7%13
- IPv4 Address. . . . . . . . . . . : 192.168.3.200
- Subnet Mask . . . . . . . . . . . : 255.255.255.0
- Default Gateway . . . . . . . . . : 192.168.3.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement