Trodde det var selve hjemmesentralen som hadde denne offentlige ip adressen, og at man da ved hjelp av å sette hver router etter med fast lokal ip at man ville få videre kontakt.
Men da vet jeg det. Takk
Men da vet jeg det. Takk
703
243395
|
ubnt@EdgeRouter-Pro-8-Port# commit [ interfaces ethernet eth7 vif 102 dhcp-options ] Restarting DHCP on eth7.102 ... [ interfaces ethernet eth7 vif 101 dhcp-options ] Restarting DHCP on eth7.101 ... [ protocols igmp-proxy ] Job for igmpproxy.service failed because the control process exited with error code. See "systemctl status igmpproxy.service" and "journalctl -xe" for details. [ port-forward ] "lan-interface" is required when hairpin NAT is enabled [ service dhcp-server ] Conflicting subnet ranges: 192.168.1.0/24 overlaps 192.168.1.0/24 Conflicting subnet ranges: 192.168.1.0/24 overlaps 192.168.1.0/24 DHCP server configuration commit aborted due to error(s). [ service lldp ] Starting lldpd... [ interfaces ethernet eth7 vif 102 dhcpv6-pd ] Starting new daemon... Commit failed
firewall { all-ping enable broadcast-ping disable ipv6-name WANv6_IN { default-action drop description "WAN inbound traffic forwarded to LAN" rule 10 { action accept description "Allow established/related sessions" state { established enable related enable } } rule 20 { action drop description "Drop invalid state" state { invalid enable } } } ipv6-name WANv6_LOCAL { default-action drop description "WAN inbound traffic to the router" enable-default-log rule 10 { action accept description "Allow established/related sessions" state { established enable related enable } } rule 20 { action drop description "Drop invalid state" state { invalid enable } } rule 30 { action accept description "Allow IPv6 icmp" protocol ipv6-icmp } rule 40 { action accept description "allow dhcpv6" destination { port 546 } protocol udp source { port 547 } } } ipv6-receive-redirects disable ipv6-src-route disable ip-src-route disable log-martians enable name WAN_IN { default-action drop description "WAN to internal" rule 10 { action accept description "Allow established/related" state { established enable related enable } } rule 20 { action drop description "Drop invalid state" state { invalid enable } } } name WAN_LOCAL { default-action drop description "WAN to router" rule 10 { action accept description "Allow established/related" state { established enable related enable } } rule 20 { action drop description "Drop invalid state" state { invalid enable } } } receive-redirects disable send-redirects enable source-validation disable syn-cookies enable } interfaces { ethernet eth0 { duplex auto speed auto } ethernet eth1 { duplex auto speed auto } ethernet eth2 { address 192.168.2.1/24 description "Local 2" duplex auto speed auto } ethernet eth3 { duplex auto speed auto } ethernet eth4 { duplex auto speed auto } ethernet eth5 { duplex auto speed auto } ethernet eth6 { address 192.168.1.1/24 description Local duplex auto speed auto } ethernet eth7 { description Uplink duplex auto mac /*gamle sentralens mac*/ speed auto vif 101 { address dhcp description IPTV dhcp-options { client-option "request subnet-mask, routers, rfc3442-classless-static-routes;" client-option "send vendor-class-identifier "VMG8825-B50B";" default-route no-update default-route-distance 255 name-server no-update } } vif 102 { address dhcp description Internet dhcp-options { default-route update default-route-distance 210 name-server update } dhcpv6-pd { pd 1 { interface eth6 { host-address ::1 prefix-id :1 service slaac } prefix-length 56 } rapid-commit enable } firewall { in { ipv6-name WANv6_IN name WAN_IN } local { ipv6-name WANv6_LOCAL name WAN_LOCAL } } mac /*gamle sentralens mac*/ } } loopback lo { } } protocols { igmp-proxy { interface eth6 { role downstream threshold 1 } interface eth7.101 { alt-subnet 0.0.0.0/0 role upstream threshold 1 } } } service { dhcp-server { disabled false hostfile-update disable shared-network-name LAN1 { authoritative enable subnet 192.168.1.0/24 { default-router 192.168.1.1 dns-server 92.220.228.70 dns-server 109.247.114.4 lease 86400 start 192.168.1.5 { stop 192.168.1.243 } } shared-network-name LAN2 { authoritative enable subnet 192.168.2.0/24 { default-router 192.168.2.1 dns-server 92.220.228.70 dns-server 109.247.114.4 lease 86400 start 192.168.2.5 { stop 192.168.2.243 } } } static-arp disable use-dnsmasq disable } dns { forwarding { cache-size 150 listen-on eth7 listen-on eth6 listen-on eth2 } } gui { http-port 80 https-port 443 older-ciphers disable } lldp { interface eth6 { } } nat { rule 5010 { description "Internet - Vlan102" log disable outbound-interface eth7.102 protocol all type masquerade } rule 5011 { description "TV - Vlan 101" log disable outbound-interface eth7.101 protocol all type masquerade } } ssh { port 22 protocol-version v2 } } system { host-name EdgeRouter-Pro-8-Port login { user ubnt{ authentication { encrypted-password } level admin } } ntp { server 0.ntp.altibox.no { } server 0.ubnt.pool.ntp.org { } server 1.ntp.altibox.no { } server 1.ubnt.pool.ntp.org { } server 2.ntp.altibox.no { } server 2.ubnt.pool.ntp.org { } server 3.ntp.altibox.no { } server 3.ubnt.pool.ntp.org { } } offload { hwnat disable ipsec enable } syslog { global { facility all { level notice } facility protocols { level debug } } } time-zone Europe/Oslo traffic-analysis { dpi disable export disable } } /* Warning: Do not remove the following line. */ /* === vyatta-config-version: "config-management@1:conntrack@1:cron@1:dhcp-relay@1:dhcp-server@4:firewall@5:ipsec@5:nat@3:qos@1:quagga@2:suspend@1:system@4:ubnt-pptp@1:ubnt-udapi-server@1:ubnt-unms@1:ubnt-util@1:vrrp@1:vyatta-netflow@1:webgui@1:webproxy@1:zone-policy@1" === */ /* Release version: v2.0.8-hotfix.1.5278088.200305.1641 */
IP Route Table for VRF "default" S *> 0.0.0.0/0 [210/0] via 178.16.64.1, eth7.102 C *> 10.196.98.0/23 is directly connected, eth7.101 C *> 127.0.0.0/8 is directly connected, lo C *> 178.16.64.0/21 is directly connected, eth7.102 C *> 192.168.1.0/24 is directly connected, eth6
IP Route Table for VRF "default" S *> 0.0.0.0/0 [210/0] via 178.16.64.1, eth7.102 C *> 10.196.98.0/23 is directly connected, eth7.101 C *> 127.0.0.0/8 is directly connected, lo C *> 178.16.64.0/21 is directly connected, eth7.102 C *> 192.168.1.0/24 is directly connected, eth6
IP Route Table for VRF "default" S *> 0.0.0.0/0 [210/0] via 178.16.64.1, eth7.102 S *> 10.133.0.0/16 [1/0] via 10.196.98.1, eth7.101 C *> 10.196.98.0/23 is directly connected, eth7.101 C *> 127.0.0.0/8 is directly connected, lo S *> 172.21.0.0/16 [1/0] via 10.196.98.1, eth7.101 C *> 178.16.64.0/21 is directly connected, eth7.102 C *> 192.168.1.0/24 is directly connected, eth6
[edit service dhcpv6-server] ***@fw# show preference 0 shared-network-name *** { subnet 2a01:79c:ceba:***:4::/120 { address-range { start 2a01:79c:ceba:***:4::50 { stop 2a01:79c:ceba:***:4::ff } } name-server 2a01:79c:ceba:***:4::1 } }
[edit interfaces ethernet eth1] ***@fw# show description eth1 duplex auto speed auto vif 4 { address 10.0.4.1/24 address 2a01:79c:ceba:***:4::1/120 description *** ipv6 { dup-addr-detect-transmits 1 router-advert { cur-hop-limit 64 link-mtu 1472 managed-flag true max-interval 30 other-config-flag false reachable-time 0 retrans-timer 0 send-advert true } } }
[edit service dhcpv6-server] ***@fw# show preference 0 shared-network-name *** { subnet 2a01:79c:ceba:***:4::/120 { address-range { start 2a01:79c:ceba:***:4::50 { stop 2a01:79c:ceba:***:4::ff } } name-server 2a01:79c:ceba:***:4::1 } }
[edit interfaces ethernet eth1] ***@fw# show description eth1 duplex auto speed auto vif 4 { address 10.0.4.1/24 address 2a01:79c:ceba:***:4::1/120 description *** ipv6 { dup-addr-detect-transmits 1 router-advert { cur-hop-limit 64 link-mtu 1472 managed-flag true max-interval 30 other-config-flag false reachable-time 0 retrans-timer 0 send-advert true } } }
|