wwbmmm commented on issue #3157: URL: https://github.com/apache/brpc/issues/3157#issuecomment-3624273481
> > channel这里指定的ip地址,是指定rpc server的服务地址吧,我想要的是,在client机器有多个ip(网卡)的情况下控制channel发送rpc时候使用的本地ip地址 这个目前还不支持。能否在系统层面设置路由解决?比如设置访问某些server ip时,本地走某个网卡/ip。如: ```bash # 访问 192.168.100.0/24 网段时,通过 eth1 网卡,使用网关 192.168.2.1 sudo ip route add 192.168.100.0/24 via 192.168.2.1 dev eth1 ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
