Hi everyone ! I need your help !I'm from ukraine myself, so my english is only with an interpreter.
When enabling the “shared internet” option in macOS ventura, the bridge100 interface is created with the address 192.168.2.1. When changing this address with the command “sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.nat NAT -dict-add SharingNetworkNumberStart 30.20.10.0” the bridge100 interface does not start and as a consequence the internet is not distributed ! What settings need to be changed for correct operation and internet distribution with the address I need ?
The most interesting thing is that I once did this operation successfully on macos 10,30,6 m it still works successfully ! But on the new system does not work !
Here's that old tape
"The only solution I have found so far is the following:
add all three physical interfaces (en0, en1 and en11) to bridge100 in GUI (Preferences > Sharing > Internet Sharing)
Alter the file /Library/Preferences/SystemConfiguration/com.apple.nat.plist using defaults commands:
$ sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.nat NAT -dict-add SharingNetworkNumberStart 172.16.42.0
$ sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.nat NAT -dict-add SharingNetworkNumberEnd 172.16.42.254
$ sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.nat NAT -dict-add SharingNetworkMask 255.255.255.0
Start bridge100 with the ip 172.16.42.1:
$ sudo ifconfig bridge100 172.16.42.1 netmask 255.255.255.0 up
And add alias (second ip) to bridge100: $ sudo ifconfig bridge100 alias 192.168.2.1
In this case our bridge100 will have 2 ip addresses but of course it will act as a dhcp only with range 172.16.42.0/24"
and I don't understand this line. --- Start bridge100 with the ip 172.16.42.1:
When enabling the “shared internet” option in macOS ventura, the bridge100 interface is created with the address 192.168.2.1. When changing this address with the command “sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.nat NAT -dict-add SharingNetworkNumberStart 30.20.10.0” the bridge100 interface does not start and as a consequence the internet is not distributed ! What settings need to be changed for correct operation and internet distribution with the address I need ?
The most interesting thing is that I once did this operation successfully on macos 10,30,6 m it still works successfully ! But on the new system does not work !
Here's that old tape
"The only solution I have found so far is the following:
add all three physical interfaces (en0, en1 and en11) to bridge100 in GUI (Preferences > Sharing > Internet Sharing)
Alter the file /Library/Preferences/SystemConfiguration/com.apple.nat.plist using defaults commands:
$ sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.nat NAT -dict-add SharingNetworkNumberStart 172.16.42.0
$ sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.nat NAT -dict-add SharingNetworkNumberEnd 172.16.42.254
$ sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.nat NAT -dict-add SharingNetworkMask 255.255.255.0
Start bridge100 with the ip 172.16.42.1:
$ sudo ifconfig bridge100 172.16.42.1 netmask 255.255.255.0 up
And add alias (second ip) to bridge100: $ sudo ifconfig bridge100 alias 192.168.2.1
In this case our bridge100 will have 2 ip addresses but of course it will act as a dhcp only with range 172.16.42.0/24"
and I don't understand this line. --- Start bridge100 with the ip 172.16.42.1: