书商害人啊

周日逛书城,翻开某数据库的书。看到如此结果

bigint -2^63 (-9,223,372,036,854,775,808) to 2^63-1 (9,223,372,036,854,775,807)8 Bytes

smallint-2^31 (-2,147,483,648) to 2^31-1 (2,147,483,647)4 Bytes

int -2^15 (-32,768) to 2^15-1 (32,767)2 Bytes

只能一声叹息:书商和作者害人啊!!!

阅读更多

Lo接口害人啊~~~~紧急求助~~

08-06

一台机器同一网卡上配置了多个IP,比如rnrneth0 Link encap:Ethernet HWaddr 00:14:85:DD:CD:24 rn inet addr:192.168.1.41 Bcast:192.168.1.255 Mask:255.255.255.0rn inet6 addr: fe80::214:85ff:fedd:cd24/64 Scope:Linkrn UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1rn RX packets:230115 errors:0 dropped:0 overruns:0 frame:0rn TX packets:210323 errors:0 dropped:0 overruns:0 carrier:0rn collisions:0 txqueuelen:1000 rn RX bytes:16295710 (15.5 MiB) TX bytes:111992285 (106.8 MiB)rn Interrupt:201 rnrneth0:0 Link encap:Ethernet HWaddr 00:14:85:DD:CD:24 rn inet addr:192.168.1.77 Bcast:192.168.1.255 Mask:255.255.255.0rn UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1rn Interrupt:201 rnrneth0:1 Link encap:Ethernet HWaddr 00:14:85:DD:CD:24 rn inet addr:192.168.1.88 Bcast:192.168.1.255 Mask:255.255.255.0rn UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1rn Interrupt:201 rnrnlo Link encap:Local Loopback rn inet addr:127.0.0.1 Mask:255.0.0.0rn inet6 addr: ::1/128 Scope:Hostrn UP LOOPBACK RUNNING MTU:16436 Metric:1rn RX packets:39733 errors:0 dropped:0 overruns:0 frame:0rn TX packets:39733 errors:0 dropped:0 overruns:0 carrier:0rn collisions:0 txqueuelen:0 rn RX bytes:5350526 (5.1 MiB) TX bytes:5350526 (5.1 MiB)rnrnrn现在2个程序分别占用IP 192.168.1.77,192.168.1.88,发现从一个程序发给另一个程序的IP数据包都是通过lo接口直接转发的,也就是说不会通过实际物理网卡eth0出去。有没有什么方法可以让数据从真实网卡进出,绕开lo接口。我想应该是设置下路由问题,可具体不清楚如何操作。如果2个IP位于同一台机器不同网卡上有解决方案也可~~~该问题比较棘手,各位达人多多帮忙

没有更多推荐了,返回首页